CloudFlare Configuration (article)

Susana Moleón
Susana Moleón
  • Updated

CloudFlare is a CDN (Content Delivery Network) that can greatly improve the load time of your website, as well as offering security improvements, and a number of other benefits.

Please find out more here: https://www.cloudflare.com/

To make this work with your website we recommend the following settings:

Account Plan: We recommend a minimum of a Pro account. 

DNS: CloudFlare reads your current DNS settings & automatically recreates in their system. Please double check in your Domain Control Panel for your domain name that nothing has been missed e.g. mail and mx records. When ready, you can change your Name Servers for your domain name to those provided by CloudFlare, following their help guide will show you the way if you need a hand, it should be fairly straightforward process. CloudFlare will then be responsible for your DNS.

https://www.cloudflare.com/lp/dns-a

 

1. Crypto 

SSL - Full (Please set up at minimum a Pro account as SSL redirect issues can occur if you don't).

https://support.cloudflare.com/hc/en-us/articles/200170416-What-do-the-SSL-options-mean- 

Screen_Shot_2018-12-12_at_16.25.47.png

2. Speed

Auto Minify - all resources

Polish - Lossless

Brotli - On

Rocket Loader - Off (can cause some serious bugs, experiment with this at own risk)

Screen_Shot_2018-12-12_at_16.26.33.png

Screen_Shot_2018-12-12_at_16.26.43.png

3. Page Rules

If you have a Concrete5 website we recommend the following rules:

Rule 1: 

https://yourdomainname.com/index.php?cID=*&ctask=check-out&ccm_token=* 

Cache Level > Bypass

Rule 2:

https://yourdomainname.com/dashboard/*

Rule 3:

https://yourdomainname.com/index.php/dashboard/*

Cache Level > Bypass

Screen_Shot_2018-12-12_at_16.27.19.png

CloudFlare has a lot more settings, this is the minimum we recommend for your website. Please be careful & test your website thoroughly when making any changes through CloudFlare, it is powerful software and you could unwittingly introduce bugs into your system.