5 ms·
Don't bundle. The only reason for bundling is too many requests to the server. Use HTTP/2 instead.
by axismundi 5y ago
Don't bundle. The only reason for bundling is too many requests to the server. Use HTTP/2 instead.
- crooked-v 5y agoIf you do that you're stuck with round trip times all the way down the dependency tree. HTTP/2 reduces the overhead of that, but doesn't eliminate it, so now you've added a bunch of loading time to your site.
- axismundi 5y agoI thought that as well, until I read this: https://www.sitepoint.com/file-bundling-and-http2/ https://www.sitepoint.com/file-bundling-and-http2/ https://medium.com/@asyncmax/the-right-way-to-bundle-your-assets-for-faster-sites-over-http-2-437c37efe3ff https://medium.com/@asyncmax/the-right-way-to-bundle-your-as...
- crooked-v 5y agoI don't see a counterargument here. "It's fast" doesn't change the fact that using 'native' imports instead of bundles means you're still adding the round trip time for the browser to request each set of dependencies all the way down the dependency tree.
- draw_down 5y agoMadness.
- RedShift1 5y agoWorks... as long as you are next to the server...