3 ms·
Http 2 handles loading multiple files better. So bundling isn't that important anymore. Also, no need to put assets in a different domain anymore ( limit on lo
by NicoJuicy 9y ago
Http 2 handles loading multiple files better. So bundling isn't that important anymore.
Also, no need to put assets in a different domain anymore ( limit on loading resources per domain simultaneously)
- ahmetkun 9y ago> Also, no need to put assets in a different domain anymore It's even considered harmful since extra domains means extra dns lookups which could take quite a while.
- debaserab2 9y agoI’d say bundling is more important than ever right now in the modern JS ecosystem where an average site or app uses dozens of NPM modules.
- NicoJuicy 9y agoAs mentioned, in Http2 and server push... No need for bundling. I agree on http 1.1. Sorry that you downvoted on a lack of knowledge ;)
- debaserab2 9y agoNo, I understand HTTP2 and the advantages server push brings (on paper). When you consider it’s inconsistent implementation across browser vendors and that it really works best only in a scenario with optimal connection quality, I’d say it’s bad advice to tell people to stop bundling JavaScript especially in today’s world where an average codebase is likely going to have a ton of modules.