How to Clear Your Website Cache?


When you make changes to your website, you might notice that the old version is still showing up. This happens because of Caching, which stores a "snapshot" of your site to make it load faster.

 

To see your latest updates, you need to clear the cache. At CollectHost, there are three main places where cache can be stored.

 

How to Clear Your Website Cache?

1. Clear Your Browser Cache

Sometimes the issue is just on your computer. Your browser saves images and scripts locally.

  • Chrome/Edge: Press Ctrl + Shift + Delete (Windows) or Cmd + Shift + Delete (Mac). Select "Cached images and files" and click Clear Data.

     
  • Quick Shortcut: Try a "Hard Refresh" by pressing Ctrl + F5 (Windows) or Cmd + Shift + R (Mac) while on your website.

2. Clear WordPress Plugin Cache

If you use WordPress, you likely have a caching plugin installed. You must clear this so the server sends the new version to visitors.

  • WP Rocket: Go to the top toolbar and click WP Rocket > Clear Cache.

  • LiteSpeed Cache: Click the LiteSpeed icon (diamond shape) in the top bar and select Purge All.

     
  • W3 Total Cache: Go to Performance > Dashboard and click empty all caches.

     

3. Clear Server-Level Cache (LiteSpeed)

Since CollectHost uses high-performance LiteSpeed web servers, there is a powerful cache built into the server itself.

 
  1. Log in to your cPanel.

  2. Scroll down to the Advanced section.

  3. Click on the LiteSpeed Web Cache Manager icon.

  4. Under the "Flush LSCache" section, click Flush All.

     

4. Clear Cloudflare Cache (If applicable)

If your domain is connected to Cloudflare, they store your site's files on their global servers.

  1. Log in to your Cloudflare Dashboard.

  2. Select your website.

  3. Click on the Caching tab and select Configuration.

  4. Click the Purge Everything button.


Why should you clear your cache?

  • After Design Changes: To see new colors, fonts, or images.

  • After Plugin Updates: To ensure new features or security patches are active.

  • Troubleshooting: If your site looks "broken" or elements are misaligned, clearing the cache is usually the first fix.

     

Note on "Propagation"

If you just changed your Nameservers or DNS records, clearing the cache will not help. You must wait for DNS Propagation, which can take 2 to 24 hours to update across the internet.

  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Related Articles

How to Open a Support Ticket?

At CollectHost, we are always here to help you. If you encounter a technical issue, have a...

Common Hosting Errors & How to Fix Them

Seeing an error message on your website can be frustrating. However, most common hosting errors...

Why Is My Website Down?

It can be very stressful when your website isn't loading. At CollectHost, we want to help you get...

Powered by WHMCompleteSolution