如何解决前端图片加载时stalled阻塞时间过长问题(不是6个并发数限制的原因)?

前端图片加载时stalled阻塞时间过长,而且从数量上看并不是由6个并发数的限制引起的,有两秒左右的时间所有请求单纯的阻塞着,没有数据传输

期望正常加载

阅读 1.8k
1 个回答

点下面这里,就可以看到这些字段的说明。

image.png

网络功能参考 中的描述。

image.png

也可以参考英文原版:

Queueing. The browser queues requests before connection start and when:
There are higher priority requests.
There are already six TCP connections open for this origin, which is the limit. Applies to HTTP/1.0 and HTTP/1.1 only.
The browser is briefly allocating space in the disk cache.

Stalled. The request could be stalled after connection start for any of the reasons described in Queueing.

可能的原因就这 3 个。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进