Ajax XMLHttpRequest Object Constraint

Is there a security limit on the number of Ajax XMLHttpRequest objects you can create on a single page? If so, does it depend on one browser to another?

+3
source share
3 answers

I don’t think so, but there is a limit on two simultaneous HTTP connections per domain for each client (you can override this in Firefox, but almost no one does this).

+1
source

It was easier for me to combine and reuse XMLHTTPRequest objects instead of creating new ones ...

+1
source

, , HTTP/1.1 : " ".

0

Source: https://habr.com/ru/post/1696777/


All Articles