Support » Plugins and Hacks » W3 Total Cache » Using CDN on a different domain?

Using CDN on a different domain?

  • 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 http://www.example.com being the main domain.


Viewing 1 replies (of 1 total)
  • 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.
Skip to toolbar