How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?

后端 未结 8 1460
无人共我
无人共我 2020-11-21 11:37

In Firefox 3, the answer is 6 per domain: as soon as a 7th XmlHttpRequest (on any tab) to the same domain is fired, it is queued until one of the other 6 finish.

Wha

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-21 12:03

    With IE6 / IE7 one can tweak the number of concurrent requests in the registry. Here's how to set it to four each.

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "MaxConnectionsPerServer"=dword:00000004
    "MaxConnectionsPer1_0Server"=dword:00000004
    

提交回复
热议问题