Comment

Comment by wopian

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)

parent wopian 6 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton