WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Using CDN on a different domain? (2 posts)

  1. bcwint00
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. bcwint00
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.