CloudFlare is a dynamic content delivery network (CDN) a free service that you can easily set up and running on your domain for free! Though there is a Pro account also, the free account works fine for most sites.
CloudFlare’s free CDN works well with caching plugins for WordPress like WP Super Cache and W3Total Cache.
I enabled CDN in WP Super Cache, and had some problems. My site broke, but could restore within a few minutes. The problem was in the performance settings in cloudflare.
In order to minimize potential conflicts, here are some quick tips for WP Super Cache And CloudFlare CDN Settings
WP SUPER CACHE AND CLOUDFLARE CDN SETTINGS:
1. If you are using more than one caching plugin on your site ! than don’t. Use only one, uninstall the second caching plugin before you enable cloudflare CDN. Example Wp super cache and W3TC. A conflict will eventually arise. I personally would recommend WP super cache, but its individual preference. You can read here how to uninstall W3 total cache manually completely. On the other hand you can also read here How to uninstall WP super Cache, if you prefer W3TC.
This is very important, if you do so your site might break (it happened with me).You would want to have only one minify option running on your site at any time. I have found you can safely enable HTML for auto minify in cloudflare. It reduces your sites HTML requests and loads faster.
3. You do not need to put anything (in wp super cache CDN page) in the hostname fields for a CDN relative to CloudFlare. Those fields are used if you are using a traditional CDN provider (AWS, Akamai, etc).
CloudFlare works regardless of what hosting provider a website is running on.
However, some hosting providers have taken the extra steps to make sure their customers get the most out of CloudFlare and have become a CloudFlare Partner.
If your hosting provider is a cloudflare partner, than its much easier. In the C panel enable cloudflare, it will ask you to log in to your cloudflare account. That’s it, your host server will configure your site URL, DNS automatically for cloudflare CDN.
Next enable (put a check) in Wp super cache CDN to enable it, keep all settings to default, save your settings. Log in to your cloudflare account, make sure that Auto Minify compression features at CloudFlare performance settings for JS, CSS and HTML is disabled (by default all three are enabled).
Check your site, if everything’s ok next try by enabling HTML in auto minify compression in cloudflare. Test your site again. If site breaks disable HTML minify.
You can check HERE if your Hosting provider is a cloudflare partner.
Ben Jamir is the Founder and Author of Tipsnfreeware. He is a part time Blogger, sharing his experience and giving a Helping hand to Home users. You will find here the best Windows Tips,Tricks and quality Freeware.