Website’s that load a high volume of on-page requests can significantly impact the user experience by affecting two key elements:
Slower page load speeds
Computers can often crash when a website has in excess of 300 requests per page
The screenshot above was taken from WebPageTest’s waterfall. It breaks down the request in multiple stages. As seen above, it took 15ms to do a DNS lookup, 35ms to initialise a connection and 173ms for the first byte to be received.DNS lookup and initial connection is generally only done once. All other requests are not required to go through this process again.That said, loading requests from multiple external domains names will result in the process being repeated multiple times.Due to the reasons above, we should always try and keep all requests/dependencies hosted within our internal domain name, preferably via a cookieless subdomain such as static.example.com. We have often seen over 100 requests being loaded from 50+ external domains that can add over 10 seconds of page load time on your website!