Clear website cache when your changes to the site don't show

To clear website cache is usually the fix when your changes to the site don't show up, because your browser is showing you a stored copy of the page. Do a hard refresh with Ctrl + F5 (on a Mac Cmd + Shift + R) so the page loads from scratch. If the site has a cache plugin, such as LiteSpeed Cache, purge its cache too with Purge All, and if the domain goes through Cloudflare, purge the cache there as well.

Which caches may be holding the old version of the page

Between the change you made and your screen there can be up to three stored copies.

  1. The browser cache. The browser keeps images, CSS and JavaScript so the site opens faster. This is the most common cause.
  2. The site cache. On Konet servers, LiteSpeed keeps ready-made pages only when the site itself asks for it, usually through the LiteSpeed Cache plugin in WordPress. If the site has no such plugin, there is no page cache on the server to clear.
  3. The cache of a CDN, such as Cloudflare, if you or your partner set one up. Konet does not put a CDN in front of websites.

Clear the cache in this order. As soon as you see the change, stop.

Step 1, hard refresh with Ctrl + F5

  • Chrome, Edge, Firefox on Windows or Linux. Press Ctrl + F5 or Ctrl + Shift + R.
  • Chrome and Firefox on Mac. Press Cmd + Shift + R.
  • Safari on Mac. Press Option + Cmd + R.
  • Mobile. Open the page in a private or incognito tab.

A quick check is to open the site in a private window or over your phone's mobile data. If you see the new version there, the issue is only on your own device.

Clearing the cache in Chrome and other browsers

If a hard refresh isn't enough, clear the cache from the browser. In Chrome press Ctrl + Shift + Delete (on a Mac Cmd + Shift + Delete). In the window that opens, select cached images and files, and cookies if needed, and confirm the deletion. The same shortcut works in Edge and Firefox. If you delete cookies, you will need to log in again to the sites you use.

Step 2, clear the cache in WordPress with LiteSpeed Cache

In WordPress with LiteSpeed Cache:

  1. Log in to the WordPress dashboard.
  2. In the admin bar at the top, hover over the LiteSpeed Cache icon.
  3. Click Purge All.

You will find the same purge options inside the plugin's pages, under the LiteSpeed Cache menu. If you changed CSS or JavaScript and have file minification or combination enabled, Purge All clears those files too. If a 403 or the Imunify360 check page appears after JavaScript optimization, see LiteSpeed Cache 403.

If you can't log in to WordPress, you can clear the server cache from cPanel. Open cPanel > LiteSpeed Web Cache Manager and click Flush LSCache. See the LiteSpeed Web Cache Manager guide and the LiteSpeed Cache documentation sources.

If the site uses a different cache plugin, find the option to clear the whole cache in its settings. If you have two cache plugins active at the same time, keep one, because they keep different copies and muddle the picture.

Step 3, Cloudflare purge cache

Cloudflare mainly caches images, CSS and JavaScript. So you may see new text but an old logo or old styling.

  1. Log in to Cloudflare and select the domain.
  2. Open Caching > Configuration.
  3. Click Purge Everything and confirm.

While you are working on the site, you can turn on Development Mode on the same page. For three hours Cloudflare fetches files straight from the server. Development Mode does not clear the cache, so you still need Purge Everything.

If LiteSpeed Cache is connected to Cloudflare through the API, its menu also shows a purge option for Cloudflare, which clears the Cloudflare cache without you having to log in to Cloudflare.

I can see the change, visitors can't

LiteSpeed Cache keeps separate copies for logged-in users and for visitors. So you, logged in to WordPress, may see the new page while visitors still get the old copy. Click Purge All and check from a private window, where you are logged out just like a visitor.

I changed a file through File Manager or FTP

If you changed a PHP file, the server may need up to about a minute to read the new version. The reason is OPcache, which keeps PHP files temporarily in memory for speed. Wait a moment and refresh.

Also check that you changed the right file. A copy in another folder, for example in a subdomain folder or in an old copy of the site, does not affect the page you are looking at. The path of each file is shown at the top of the cPanel File Manager.

After a migration or domain change I see old content

In this case the cache is usually not to blame.

  • Images still point to the old address. If the site was moved, for example from dokimi.example.gr to example.gr, addresses of the old site may have remained inside the WordPress database. The page then loads images from there. Right-click the image, open it in a new tab and look at the address. If it is the old one, the addresses in the database need to be replaced, as we explain in changing the domain on your hosting.
  • DNS has not propagated yet. If the nameservers or DNS records changed, some networks keep sending visitors to the old server for a while. The change usually shows within a few hours. On some networks it can take up to 48 hours. For .gr domains, also see the DNS zone refresh times.

Frequently Asked Questions

I press Ctrl + F5 and still see the old page, what else can I do?
Try from a private window or another device. If it is old there too, the cache is on the site or on Cloudflare. Follow steps 2 and 3.

Where is Purge All in LiteSpeed Cache?
You will find it in the LiteSpeed Cache menu in the admin bar at the top of the page. In the Greek version of WordPress it appears as Καθαρισμός Όλων.

Is there a server cache that Konet needs to clear?
Only if the site has enabled it through a plugin, and you clear it yourself with Purge All or with Flush LSCache in cPanel. Without a cache plugin, the server serves the page as it is right now every time.

Why do I see the old version on my phone and the new one on my computer?
Your phone has its own cache. Open the page in a private tab or clear the site data from the browser settings.

A product price changed but the shop shows sometimes the old price and sometimes the new one. Why?
Usually there are two caches that don't clear together, for example LiteSpeed Cache and Cloudflare, or two cache plugins. Clear all caches and keep only one cache plugin.

I took over the site and only have a WordPress password, how do I get into cPanel?
Access to cPanel and the Client Area is granted by the account owner. See how the owner gives a partner access.

I did all the steps and the change doesn't show anywhere. What should I send to Konet?
Open a ticket with the page address, what you changed, when, and a screenshot of what you see.

Was this article helpful?

Related service Konet Web Hosting cPanel, LiteSpeed and automatic backups: 24 every 2 hours for 48 hours, then 6 daily, 4 weekly and 3 monthly.