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.