WebPagetest Forums
Multiple domains still valueable? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: Multiple domains still valueable? (/showthread.php?tid=12278)



Multiple domains still valueable? - Geebee - 05-21-2013 09:00 PM

Hi, we use a second domain to serve our static images. We do this mainly because 'in the old days' some browsers had a maximum of 2 parallel connections. Nowadays, modern browsers have 6 or more:

http://www.browserscope.org/?category=network&v=top

Is it still wise to have a second domain for images or should we forget about that and dismantle this solution altogether? We will save ourselves the second DNS-lookup...


RE: Multiple domains still valueable? - andydavies - 05-22-2013 02:53 AM

In HTTP 1.x it depends on many things e.g. how many resources are on the page, where the visitors are i.e. if you use a CDN will it improve their experience?, etc.

A test waterfall might give us a better picture to be able to advise you.


RE: Multiple domains still valueable? - Geebee - 05-22-2013 11:11 PM

Andy, thank you. We still use HTTP 1.0 unfortunately, will change this year to 1.1. My question was in general, but maybe this screenshot of our waterfall can help you. You can see that we now use 2 domains. This test was with IE8.


RE: Multiple domains still valueable? - pmeenan - 05-23-2013 10:15 PM

For that short of a waterfall it generally doesn't make sense to do it just to increase the number of connections in parallel. As Andy mentioned, there could be other reasons to do it (if you want to use a CDN for example).


RE: Multiple domains still valueable? - Geebee - 05-24-2013 06:05 AM

Thanks for your answers. This real life test also supports this, also because for mobile sharding domains can be a problem: http://www.mobify.com/blog/domain-sharding-bad-news-mobile-performance/