Maximum http request per page

How many HTTP requests the browser can process on one html page. Their popular saying is that the browser can only process a specific HTTP request from one domain, and therefore it is better to create a static domain (cdn). so an HTTP request can be split between two domains.

q1) How many HTTP requests can the browser process on a single html page, or at least at a saturation point (say 1000 requests)?

q2) How many HTTP requests from a single domain name can a browser display (say, 100 from the same domain name)?

also any suggestions on best practices !!!

+4
source share
2 answers

In theory, there is no limit. But as the number of queries required to create the page grows, the time taken to render the page increases. The ratio is not linear at low values. Typically, latency has a much greater effect than bandwidth with actual bandwidth, and there are mechanisms in HTTP to minimize the impact of this — for example, keepalives and concurrent requests. According to John Grant, there are limits on the number of concurrent requests.

A complete answer to this question would fill a book here good .

0
source

Section 8.1.4 of the HTTP / 1.1 RFC states that "a single-user client MUST NOT support more than two connections to any server or proxy."

However, the keyword should; most browsers use a different number. See this blog for a table of maximum connections for each browser.

+3
source

All Articles