4 ms·
>> increase the number of parallel connections. > I believe that trick is to save bandwidth by not sending the (large) cookies that would normally be sent to th
by richardwhiuk 11y ago
>> increase the number of parallel connections.
> I believe that trick is to save bandwidth by not sending the (large) cookies that would normally be sent to the normal domain.
No, Internet Explorer (and other browsers) used to only allow a small number of connections per domain. Long running COMET requests ate up these connections, so if you wanted to simultaneously download multiple resources from a single domain, and reduce time to page ready, then you had to use multiple domains.
- extra88 11y agoThe limit is per host, not per domain. Before using CDNs became commonplace, it was not unusual for a site to use multiple hostnames of their own to spread out their content and have more parallel connections for a single page load; example.com img1.example.com, img2.example.com, etc.
- richardwhiuk 11y agoIt's per FQDN, not per host. Host refers to either an individual machine, or an IP address, and the restriction is to neither of these.
- extra88 11y agoBy "host," I meant FQDN. I think my examples made it clear that I didn't mean per ip or machine.