xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

HTTP/1.1 & HTTP/2 & webpack

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.

  1. bundle 减少请求次数
  2. 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 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-04-23 17:13  xgqfrms  阅读(250)  评论(1编辑  收藏  举报