HTTP/1.1 & HTTP/2 & webpack
Bundling your application is especially powerful for HTTP/1.1 clients, as it minimizes the number of times your app has to wait while the browser starts a new request.
For HTTP/2, you can also use Code Splitting to achieve best results.
- bundle 减少请求次数
- HTTP/2 多路复用,动态加载
https://github.com/webpack/webpack/tree/master/examples/http2-aggressive-splitting
https://medium.com/webpack/webpack-http-2-7083ec3f3ce6
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!