> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

<Warning>
  **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](/docs/how-to-activate-cloudflare). For detailed information about how to configure Cloudflare settings, please see the [Cloudflare documentation](https://support.cloudflare.com).
</Warning>

## 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](https://static.hosting.com/kb/kb-cloudflare-select-domain.png)

3. In the left sidebar, click **Caching**, and then click **Configuration**:\
   ![Cloudflare - Caching - Configuration](https://static.hosting.com/kb/kb-cloudflare-sidebar-caching-configuration.png)

4. On the **Caching Configuration** page, under **Purge Cache**, are the cache clearing options:\
   ![Cloudflare - Caching - Configuration - Purge Cache options](https://static.hosting.com/kb/kb-cloudflare-purge-cache-options.png)

* 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](https://www.cloudflare.com).

## Related articles

* [Activating Cloudflare](/docs/how-to-activate-cloudflare)

* [Troubleshooting Cloudflare connections](/docs/troubleshooting-cloudflare-connections)

* [Turning off Cloudflare](/docs/turning-off-cloudflare)

* [Using Cloudflare to defend against DDoS attacks](/docs/using-cloudflare-to-defend-against-ddos-attacks)
