How To Serve Javascript and Static Images from Cloudflare CDN

Unmaintained How To Serve Javascript and Static Images from Cloudflare CDN

This guide was originally made regarding a subdomain of your main domain. You can also use another domain to serve files from. If you do so, might as well make it a cookie-less domain and if you activate cloudflare for it, do not do so through your hosts control panel because it only picks up Cloudflare through the www record and not the root domain. If you've already done so, go ahead and deactivate from your cpanel then reactivate your other domain through cloudflare's own site.
Top