top | item 21858916

(no title)

wopian | 6 years ago

If the site is being served over HTTP/2 then the 11 separate JS files is a good thing compared to a single 2MB JS file.

-

In my case it also has the added benefit of being able to cache JS for a long(er) period of time, with users only having to download maybe 0-30kb of JS when only 1 component is updated instead of invalidating the entire JS served (Way under 1MB however)

discuss

order

No comments yet.