什么是“封锁"?真的意味着在Firefox开发人员工具中进行网络监控? [英] What does "Blocked" really mean in the Firefox developer tools Network monitoring?
问题描述
Firefox网络监视器文档的定时部分, 阻止"的解释为:
The timing section of the Firefox Network Monitor documentation, "Blocked" is explained as:
在队列中等待网络连接所花费的时间.
Time spent in a queue waiting for a network connection.
浏览器对可以连接到单个服务器的同时连接数施加了限制.在Firefox中,默认值为6
The browser imposes a limit on the number of simultaneous connections that can be made to a single server. In Firefox this defaults to 6
对连接数的限制是唯一的限制吗?还是浏览器被阻止,等待从操作系统获取连接也被视为被阻止?
Is the limit on the number connections the only limitation? Or is the browser blocked waiting to get a connection from the OS count as blocked too?
在一个新的浏览器中,在第一个连接上,在进行任何其他连接之前(因此限制在此处不适用),我被阻止了195毫秒.
In a fresh browser, on a first connection, before any other connection is made (so the limit should not apply here), I get blocked for 195 ms.
这是浏览器在等待操作系统吗? 封锁"在这里是什么意思?
Is this the browser waiting for the OS? Was does "Blocked" mean here?
推荐答案
在队列中等待网络连接所花费的时间.
Time spent in a queue waiting for a network connection.
浏览器对并发连接数施加限制 可以在一台服务器上完成.在Firefox中,默认值为6, 但可以使用 网络.http.max-persistent-connections-per-server偏好设置.我摔倒 连接正在使用中,浏览器无法下载更多资源 直到连接被释放.
The browser imposes a limit on the number of simultaneous connections that can be made to a single server. In Firefox this defaults to 6, but can be changed using the network.http.max-persistent-connections-per-server preference. If all connections are in use, the browser can't download more resources until a connection is released.
来源: https://developer.mozilla.org/zh-CN/docs/Tools/Network_Monitor
很明显,浏览器将限制限制为每个服务器6个并发连接(域/IP),操作系统问题不是很重要.
It's very clear that the browser fixes the limit to 6 concurrent connections per server (domains/IP), the OS question is not very relevent.
这篇关于什么是“封锁"?真的意味着在Firefox开发人员工具中进行网络监控?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!