3 ms·
Minifying yes but why bundling? https://hpbn.co/http2/#request-and-response-multiplexing https://hpbn.co/http2/#request-and-response-multiplexing HTTP2 takes
by jakub_g 10y ago
Minifying yes but why bundling?
https://hpbn.co/http2/#request-and-response-multiplexing https://hpbn.co/http2/#request-and-response-multiplexing
HTTP2 takes care of loading files via multiplexing, and ES6 modules take care of loading JS in proper order, no need to bundle AFAIU.
- vmasto 10y agoSorry for the late reply. Multiplexing is not a panacea, there's still some overhead, and even if there wasn't there's still a point where you start to lose lot of performance by limiting gzip compression (the smaller the file the less efficient the compression is). You can read more about why we'll always need a bundling step at the following links: http://engineering.khanacademy.org/posts/js-packaging-http2.htm http://engineering.khanacademy.org/posts/js-packaging-http2.... https://medium.com/@asyncmax/the-right-way-to-bundle-your-assets-for-faster-sites-over-http-2-437c37efe3ff#.sjb5wen8t https://medium.com/@asyncmax/the-right-way-to-bundle-your-as... https://medium.com/webpack/webpack-http-2-7083ec3f3ce6#.74q6ro5kl https://medium.com/webpack/webpack-http-2-7083ec3f3ce6#.74q6...