# Clearing the Cloudflare cache

> Purge the whole Cloudflare cache or selected files so visitors see the latest version of your website.

Source: https://helpcenter.ruachost.com/add-ons/cloudflare/clearing-the-cloudflare-cache/

Learn how to clear the Cloudflare cache for your account to fetch the most recent version of files on your website.

### **Overview**

Clearing the Cloudflare cache ensures that the latest version of your website files, such as updated CSS or JavaScript, is served to visitors. You can clear the entire cache or remove specific files selectively.

**Important:** Clearing the cache forces Cloudflare to rebuild it, which may temporarily reduce site performance.

### **Note**

For instructions on activating Cloudflare, see the setup guide. For detailed Cloudflare configuration, consult the Cloudflare documentation.

### **Steps to Clear the Cloudflare Cache**

1. Log in to your Cloudflare account.
2. In the left sidebar, click **Websites**, then select your domain (e.g., `example.com`). ![Cloudflare - Select domain](https://helpcenter.ruachost.com/kb-images/096d59354257.webp)
3. In the left sidebar, click **Caching**, then **Configuration**. ![Cloudflare - Caching - Configuration](https://helpcenter.ruachost.com/kb-images/5619409827bc.webp)
4. Under **Purge Cache**, you’ll see the cache clearing options. ![Cloudflare - Caching - Configuration - Purge Cache options](https://helpcenter.ruachost.com/kb-images/a2fa41ff2bd1.webp)

#### **Clear Entire Cache**

- Click **Purge Everything**, then click **Purge Everything** again to confirm.
- **Note:** It may take up to 30 seconds for the cache to clear completely.

#### **Clear Specific Files (Custom Purge)**

- Click **Custom Purge**.
- Enter the complete URL(s) of the files you want to remove from the cache.
- Click **Purge** to clear the selected files.

### **More Information**

For additional guidance, visit [https://www.cloudflare.com](https://www.cloudflare.com/).
