• I notice that a lot of big websites use completely different domains to host their CDN content (e.g. Reddit.com uses redditmedia.com for static content). Found out that most of them do this to avoid cookies being stored, this reducing the load time of any content being pulled from CDNs. However I noticed an option in W3TC under the CDN section saying Set cookie domain to “www.example.com”.

    Does enabling this do the same thing if I have my CDN on a subdomain of the same URL of my website?

    e.g. static.example.com (CDN) with https://www.example.com being the main domain.

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • Thread Starter bcw00

    (@bcwint00)

    I’m sorry but that does not answer my question of using CDN on a sub domain vs a completely different domain. I’m not self hosting since I’m using Cloudfront. More interested in the worth of having a separate domain for the purpose of no cookies and what not.

Viewing 1 replies (of 1 total)
  • The topic ‘Using CDN on a different domain?’ is closed to new replies.