52

合并HTTP请求 vs 并行HTTP请求,到底谁更快?

 5 years ago
source link: https://juejin.im/post/5b166d1ee51d4506d5366982
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
本文讨论的场景基于HTTP 1.1, 不涉及HTTP 2。 面试时,经常会问候选人一个问题:如何提高网页性能? 有些基础的人都会提到这么一条:减少/合并HTTP请求。 继续问:浏览器不是可以并行下载资源吗?将多个资源合并成一个资源,只使用一个HTTP请求下载

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK