Skip to main content

How to Clear Cache in Cloudflare

Sometimes clearing browser cache isn't enough. If your site is connected through Cloudflare, a copy of pages may be stored on their servers worldwide. For changes to take effect immediately for all users, you need to clear the cache on Cloudflare's side.

Important

After a full cache clear, load on your main server (Hetzner) will temporarily increase, and site loading speed for first visitors may slightly decrease until Cloudflare creates new page copies.


Step-by-step Instructions​

Step 1. Login to Control Panel​

Go to dash.cloudflare.com and log in with your credentials.

Step 2. Select Site​

In the list of zones (domains), select the site for which you need to update data.

Step 3. Go to Caching Section​

In the left sidebar menu, select Caching β†’ Configuration (or Overview depending on interface version).

Step 4. Full Cache Clear​

If you made global changes to design or structure:

  1. Find the Purge Cache button.
  2. Select Purge Everything option.
  3. Confirm action in the popup window.

Step 5. Selective Clear (by URL)​

If you need to update only one specific page or image:

  1. Click Custom Purge.
  2. In the field that appears, enter the page URL (link). For example: https://1it.pro/about https://1it.pro/contacts
  3. Click Purge button.

Development Mode​

If you plan to make many changes within an hour and want to see them immediately without constant cache clearing, enable Development Mode.

How to enable

On the same Caching page, find the Development Mode toggle and switch it to On. This will temporarily (for 3 hours) disable Cloudflare caching, and requests will go directly to your server.


Automation (for 1it.pro developers)​

We can set up automatic Cloudflare cache clearing every time you publish (deploy) new code via GitLab CI/CD.

API Purge

Using API allows us to update cache programmatically, without logging into the control panel manually. If you need such setup β€” let us know!


Done! Now Cloudflare will start serving the fresh version of your site.