How to Use Cloudflare to Speed Up Your Website

Knowledgebase / How to Use Cloudflare to Speed Up Your Website

How to Use Cloudflare to Speed Up Your Website

0 found helpful (0 votes) ...
Back to Knowledgebase

Cloudflare's CDN caches your website on servers around the world so visitors load your site from a location close to them. Here is how to get the most out of it.

Enable Cloudflare caching

  1. Log in to https://dash.cloudflare.com and select your domain.
  2. Go to Caching → Configuration.
  3. Set Caching Level to Standard.
  4. Set Browser Cache TTL to 4 hours or longer.

Enable Auto Minify

  1. Go to Speed → Optimization → Content Optimization.
  2. Enable Auto Minify for JavaScript, CSS, and HTML.

Enable Brotli compression

  1. In the same Speed → Optimization section, enable Brotli. This compresses files before sending them to visitors.

Purge the cache after updates

After making changes to your website, you may need to clear the Cloudflare cache so visitors see the latest version:

  1. Go to Caching → Configuration.
  2. Click Purge Everything.

Development mode (temporary cache bypass)

While editing your site, enable Development Mode to bypass the cache temporarily:

  1. Go to Caching → Configuration.
  2. Enable Development Mode. It automatically turns off after 3 hours.

Was this article helpful?



Still need help?

Open a support ticket →

On This Page