Why is Chrome queueing up requests when using HTTP/2?

坚强是说给别人听的谎言 提交于 2019-12-07 07:22:28

问题


I have a site that is using HTTP/2, and the site is slow to load images. Looking at Chrome's Devtools, most of the time is spent in "queueing" the network requests for the images. My understanding is that with HTTP/2, multiple requests may be made simultaneously over the same TCP connection, but I am seeing that Chrome is only issuing 6 requests simultaneously and queueing the rest (as if it were using HTTP/1.1). I know that it is using HTTP/2 since the "protocol" column in the "Network" tab says "h2".

Why is Chrome queueing up these requests instead of sending them in parallel?

来源:https://stackoverflow.com/questions/45315238/why-is-chrome-queueing-up-requests-when-using-http-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!