How to Enable and Manage Cloudflare
Cloudflare CDN Settings

Cloudflare CDN Settings

This tutorial provides information on the options you can change for your Cloudflare CDN service. Note, that some of the options are available only for Cloudflare Premium users. If you try to enable feature available only for the Premium users, you will be redirected to your Client Area to upgrade your Cloudflare CDN service.

Basic Cloudflare Settings

On the Settings tab, you will see a list of options that you can enable or disable for the selected domain.

The options, you can configure are as follows:

  • Cloudflare Caching Level: You can choose between Basic, Simple and Aggressive mode. The basic setting will cache most static resources (i.e., CSS, images, and JavaScript). The aggressive setting will cache all static resources, including ones with a query string. The simple setting will ignore the query string when delivering a cached resource.
  • Cache Purge: The Purge button will clear the cached content for your site. You can use it if you want to immediately preview any changes you’ve made to your site.
  • Development Mode: Development Mode temporarily allows you to enter development mode for your websites if you need to make changes to your site. This will bypass Cloudflare’s accelerated cache and slow down your site but is useful if you are making changes to cacheable content (like images, CSS, or JavaScript) and would like to see those changes right away. Once entered, the development mode will last for 3 hours and then automatically toggle off.
  • Cloudflare Security Settings: Adjust the basic security level to modify which visitors Cloudflare will limit from visiting your website. A Low security setting will prevent only the most threatening visitors from accessing your site. A High security setting will block all visitors that have exhibited threatening behavior within the last 14 days. Essentially off will act only against the most grievous offenders. We recommend starting out at low. I’m Under Attack Mode should only be used when a site is having a DDoS attack. Visitors will see a processing page for about five seconds while we analyze the traffic and behavior to make sure it is a legitimate human visitor trying to access your site.
  • Always Online: Always Online keeps your site online, even if your server goes down. Cloudflare will serve pages from the cache, so your visitor still sees some of the pages they are trying to visit. Your visitor will see a message at the top of the page telling them that they are in offline browsing mode. As soon as your server comes back online, Cloudflare will bump users back to regular browsing seamlessly. If Cloudflare does not have the requested page in its cache, the visitor sees an error page letting them know that the website page they are requesting is offline.
  • Email Obfuscation Parameters: By enabling the Email Address Obfuscation Cloudflare feature, Cloudflare will encrypt email addresses on your web page from bots, while keeping them visible to humans. There are no visible changes to your website for visitors.
  • Auto Minify (Web Optimisation): Auto Minify will remove all unnecessary characters from your HTML, JavaScript, and CSS files, resulting in smaller scripts and faster load times. For immediate results, perform a cache purge to clear any non-minimized files from the cache.
  • SSL Support: Use this option if you want your website to open via HTTPS. If you already have an SSL certificate for your domain name installed on the SiteGround server you need to set the setting to Strict. After a few minutes, the website should start working properly via HTTPS.

Cloudflare Premium Settings

  • Web Application Firewall: WAF sits in front of your web application and uses rule sets to block common or new attack styles providing enhance security to your website.
  • Polish: Image Optimization – Strips metadata and compresses your images for faster page load times. Basic: Reduce the size of PNG, JPEG, and GIF files – no impact on visual quality. Basic + JPEG: Further reduce the size of JPEG files for faster image loading. Larger JPEGs are converted to progressive images, loading a lower-resolution image first and ending in a higher-resolution version. Not recommended for hi-res photography sites. For the service to take effect immediately, you will have to purge the cache.
  • Mirage: Image Optimization (BETA) – Automatically resize images based on the visitor’s device and how the image is used on the page. Requires JavaScript. Also automatically turns all images into load-on-demand. Images on your site are not loaded until the visitor scrolls to their location.

Share This Article