Cloudflare (CDN)

Cloudflare is a free CDN service which speeds up your website. It caches the heavy resources present on your site and it delivers them to your visitors from servers spread around the globe. In this guide we will present how to configure this service in order to obtain the best results with our themes.

Cloudflare installation:

  • first create a Cloudflare account – here
  • this setup will not be covered by this guide, please check Cloudflare official guide – here

Cloudflare configuration:

  • log into your cloudflare account
  • from DNS make sure that the traffic is routed trough Cloudflare only for the areas which are accessible to the site visitors

td_cloudflare_dns

 

  • on Crypto enable the encryption, this option includes multiple options (full, flexible, strict), check the “help” section present on the page and chose the one which works best for your case

td_cloudflare_crypto

 

  • the Firewall section allows you to set the security level and to set access rules for certain ip’s or countries.

td_cloudflare_firewall

 

  • the Speed section comes with minification options – to avoid any issue please disable the Rocked Loader (beta) feature

td_cloudflare_speed

 

  • from Caching you can change the cache expiration time and you can purge the files(this will reset the cache and it will fetch a fresh version of those files from your web server)

td_cloudflare_caching

 

Note – This guide presents our case and for other situations it may not be optimal. The rest of the settings are left to default, you can explore the Cloudflare documentation for more details about each area.