允许在现代浏览器多少PENDING Ajax请求? [英] How many PENDING ajax requests are allowed in modern browsers?

查看:685
本文介绍了允许在现代浏览器多少PENDING Ajax请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我要澄清,我不是在谈论这个问题,<一个href="http://stackoverflow.com/questions/561046/how-many-concurrent-ajax-xmlhtt$p$pquest-requests-are-allowed-in-popular-browser">How许多并发AJAX(XmlHtt prequest)请求允许在流行的浏览器?,大约是同时请求。

First, I want to make clear that I am not talking about this question How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers? , which is about simultaneous requests.

相反,我想知道是否有以待Ajax请求的数量限制,之前的浏览器可能开始取消他们或引发错误。

Instead, I want know if there is a limit on the number of pending ajax requests, before the browser potentially starts cancelling them or throwing errors.

运行一些简单的测试,我已经看到了,当大约6并发请求的限制被击中,浏览器将开始排队以优雅的方式请求。一旦一个时隙变为可用时,它被用来与一个新的请求被发送到服务器。

Running some simple tests, I've seen that when the limit of about 6 simultaneous requests is hit, the browser will start queuing requests in a graceful manner. Once a 'slot' becomes available, it is used and a new request is sent to the server.

我也看到了Chrome浏览器,Firefox和IE浏览器,甚至将正常处理大约100个​​请求队列。

I have also seen that Chrome, Firefox and even IE will gracefully handle a queue of about 100 requests.

推荐答案

我还猜想,它是从当前的最大数量显示已打开的连接和这里的情况,即<一href="http://weblogs.asp.net/mschwarz/archive/2008/07/21/internet-explorer-8-and-maximum-concurrent-connections.aspx"相对=nofollow>马克斯 - 连接 并且此线程也有助于<一个href="http://stackoverflow.com/questions/561046/how-many-concurrent-ajax-xmlhtt$p$pquest-requests-are-allowed-in-popular-browser">How许多并发AJAX请求被允许在流行的浏览器?

I also guess that it's indicated from maximum number of current opened connection and here's the situation in IE Max-Connections and this thread also may help How many concurrent AJAX requests are allowed in popular browsers?

这篇关于允许在现代浏览器多少PENDING Ajax请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆