5 ms·
It's been good practice for years now to place static assets on a separate domain to reduce cookie traffic. In some cases, the website owner can't control which
by spicyj 13y ago
It's been good practice for years now to place static assets on a separate domain to reduce cookie traffic. In some cases, the website owner can't control which cookies are set on the root domain (e.g., Google Analytics sets cookies on the root, not on the subdomain the page is served from).
Doesn't sharing the root domain (jgc.org in this case) partially negate this advantage?
- cloudflare 13y agoYes, but SPDY does compression of headers and so the same cookie being sent should be compressed.
- spicyj 13y agoOn non-SPDY connections, it won't be, correct? Seems like the best approach might be to simply serve different static asset URLs based on User-Agent sniffing.
- moot 13y agoAnother example from 4chan: http://chrishateswriting.com/post/68794699432/small-things-add-up http://chrishateswriting.com/post/68794699432/small-things-a...