Clearing the Cloudflare cache

This article describes how to clear the Cloudflare cache for your account.

This article describes how to clear the cache in Cloudflare. You may need to do this when you want to fetch the most recent version of a file from your web site right away. For example, if you change a CSS file and do not see the new styling in your browser, you can clear the cache and force Cloudflare to get the updated file immediately.

You can clear the entire cache at once, or you can selectively clear parts of the cache.

🚧

Important

Because Cloudflare must rebuild the cache after you clear it, site performance may temporarily be reduced.

📘

Note

For information about how to activate Cloudflare for your account, please see this article. For detailed information about how to configure Cloudflare settings, please see the Cloudflare documentation.

Clearing the Cloudflare cache

To clear the Cloudflare cache, follow these steps:

  1. Log in to Cloudflare with your Cloudflare account.

  2. In the left sidebar, click Websites, and then click your domain name (for example, example.com ):
    Cloudflare - Select domain

  3. In the left sidebar, click Caching, and then click Configuration:
    Cloudflare - Caching - Configuration

  4. On the Caching Configuration page, under Purge Cache, are the cache clearing options:
    Cloudflare - Caching - Configuration - Purge Cache options

  • To clear the entire cache at once, click Purge Everything, and then click Purge Everything again to confirm.

    📘

    Note

    It can take up to 30 seconds for Cloudflare to finish clearing the cache.

  • To selectively clear the cache, click Custom Purge. In the text box, type the complete URL (or multiple URLs) that you want to clear from the cache, and then click Purge.

More Information

For more information about Cloudflare, please visit https://www.cloudflare.com.

Related Articles