Parallel loading
The browser loads images and CSS and JavaScript files in parallel to reduce the overall page load time. However, the specification of the HTTP 1.1 protocol that governs communication between the browser and the server suggests that browsers download not more than two components in parallel per domain. That made sense back in 1997 when HTTP 1.1 was introduced, and most people still used low bandwidth dial up connections. With broadband connections used by most people these days, you'll want to increase the number of components loaded in parallel.
To visualize this, have a look at this highly simplified Waterfall chart of a web page with eight components, all loaded from the single domain:
In the Serving images from cookieless domains ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access