Re:Why do web services use so many domains?
by dexwiz on Monday December 14, 2020 @06:34PM
(#25424894)
Another user mentioned SSO redirects for main pages. For assets generally there is a different domain for the CDN, which may load JavaScript. Finally there is an inbuilt limit of simultaneous requests per domain in browsers. Different domains are used to get around this.
[ Parent
| on HN ]
Re:Why do web services use so many domains?
by asd4 on Monday December 14, 2020 @07:35PM
(#25425481)
I did not know this about connection limits.
The multi-domain assets really bug me when I'm enabling domains one by one in NoScript.
Here is an example of domains used on Amazon's website:
amazon.com
www.amazon.com
amazon-adsystem.com
associates-amazon.com
media-amazon.com
ssl-images-amazon.com
On its own "associates-amazon.com" sounds sketchy, but I suppose you assume the HTTPS page that you loaded from amazon.com knows what its doing.
Re:Why do web services use so many domains?
by dexwiz on Monday December 14, 2020 @11:14PM
(#25426937)
The HTTP 1.1 RFC says 2 per domain, but itβs more like 6 for most browsers.
https://docs.pushtechnology.com/cloud/latest/manual/html/des...