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.
- The topic ‘Using CDN on a different domain?’ is closed to new replies.