Overview
If you need to remove your Cloudflare CDN cache for a site, you can do so in a few different ways. When feasible, Cloudflare recommends deleting individual files from your cache rather than erasing your whole cache.
Clearing your entire cache at cloudflare.com
To clear your cache, follow these steps:
Go to https://dash.cloudflare.com and log in to your account.
Cache from CloudFlare
In the top menu, select the ‘Caching’ option.
Click the Purge Everything button under the Purge Cache section.
Cache 01 by CloudFlare
Click ‘Purge Everything’ in the pop-up box.
This clears the whole Cloudflare cache in an instant.
Clearing a single file
Go to https://dash.cloudflare.com and log in to your account.
Cache from CloudFlare
In the top menu, select the ‘Caching’ option.
Select Custom Purge from the drop-down menu.
‘URL:’ is the radio button to select.
Cache 02 by CloudFlare
Enter up to 30 files in the pop-up box to remove the cache for.
When you’re finished, click the ‘Purge’ button.
Purging a single file from Cloudflare’s cache removes the resource from Cloudflare’s cache immediately, and subsequent requests for that resource will re-add it to the cache with the most recent version delivered from the GreggHost server.
At this time, wildcards aren’t supported with a single file purge (e.g., example.com/*.js won’t work). You must include the http://example.com/file.js or https://example.com/file.js in the entire path to the file. For cache purge purposes, those approaches are distinct.
Clearing your cache in the GreggHost panel
Go to Domains > Manage Domains.
A Clear Cache button can be found to the right of your domain:
Clear cache with CloudFlare
To clear the whole cache on your domain, click the Clear Cache option.
Enabling development mode
You’ll want to enable development mode if you need to temporarily disable Cloudflare’s caching and optimization functions. If you’re making changes to cacheable information and need to see them right away, development mode is a good option.
Scroll down to the section named Development Mode on the ‘Cache’ tab to enable Development Mode. Toggle the On/Off switch to turn it on.
CloudFlare.fw.png (13 CloudFlare.fw.png)
Unless you manually switch it on again, development mode lasts 3 hours and then shuts off.
Your cache is not cleared when you switch to development mode; instead, it is suspended for three hours.