If you need to clear your Cloudflare CDN cache, you can clear it for a domain in a variety of ways. Cloudflare recommends purging single files from your cache, when possible, rather than clearing your entire cache.
Clearing your entire cache at cloudflare.com
To clear your cache:
- Log in to your account at cloudflare.com/login.
- Click the 'Caching' button in the top menu.
- Under the 'Purge Cache' section click down arrow icon on the 'Purge Individual Files' dropdown on the right.
- From the dropdown choose the 'Purge Everything'.
- In the popup box, click 'Purge Everything'.
This immediately clears the entire Cloudflare cache.
Clearing a single file
- Click the button (not the arrow icon) titled 'Purge individual Files'.
- In the popup box, enter up to 30 files you want to clear the cache for.
- Click the 'Purge Individual Files' button when finished.
Purging a single file from Cloudflare's cache immediately removes that resource from Cloudflare's cache, and the subsequent request for that resource will re-add that resource to the cache with the latest version served from the DreamHost server.
Clearing your cache in the DreamHost panel
- Go to (Panel > ‘Domains’ > ‘Manage Domains’).
- To the right of your domain is a Clear Cache button:
- Click the Clear Cache button to purge the entire cache on your domain.
Enabling development mode
If you need to temporarily suspend Cloudflare’s caching and optimization features, you’ll want to to enable development mode. Development mode is useful if you are making changes to cacheable content and need to see these changes immediately.
To enable Development Mode, scroll down on the 'Cache' page to the section titled 'Development Mode'. Toggle the On/Off option to enable.
- Development mode lasts 3 hours and automatically turns off unless you manually turn it on again.
- Development mode does not clear your cache – it just suspends it for 3 hours.
- Cloudflare overview
- Cloudflare FAQs
- How to enable Cloudflare on your domain
- How to check if Cloudflare is working
- How to make changes to Cloudflare domains, subdomains, and nameservers
- Managing additional Cloudflare settings in your cloudflare.com account
- Cloudflare technologies available in the panel
- Cloudflare Railgun overview
- Cloudflare with SSL FAQs
- Cloudflare subscriptions