In case your WordPress website is not performing up to your expectations and you are trying to figure the way to increase the performance, then we might have something for you. If you are not able to see the recent changes made to a site you’re visiting or your own site, the reason could be outdated WordPress cache files. This detailed tutorial guide showcases how to clear cache in WordPress.

If you are not familiar with the concepts of caching, you’re probably hoping for some answers. To help you out with it, here is an article explaining steps to delete cache from WordPress, web browsers, web hosting providers, and CDNs. Let’s get started with understanding how cache works-

How does cache work?

When you visit a website, your web browser requests the server to load various elements of the requested site including CSS, image files, HTML, JavaScript files etc. the more elements a web page has, the more time it will take to respond.

The speed of your site plays a vital role, when it comes to performance. It offers a great user experience by increasing the page loading speeds and reducing the page response time. Caching is a process of optimizing the speed of your WordPress site. Whenever you visit a site, your browser stores the static files of that website, including images, stylesheets, HTML, and JavaScript files. With this, when you visit the website next time, it will load faster, ultimately increasing the performance, speed, and user experience. In simpler words, your browser would create fewer requests (for dynamic content only) to the server and fetch the cached static files faster.

Why do we need to clear cache?

No doubt, caching sounds like a good thing. Considering it decreases the response time and helps websites load faster, ultimately offering a better site performance. So what possibly can be the reason to clear cache? Basically, when you make edits to your site, you sure will want your audience to see the changes you made. However, if your audience is still seeing the cached files, they will see the outdated version of your site. As a result, your audience will not be able to benefit from the latest edits. Moreover, when WordPress launches an updated version or plugins  launches an updated version for better performance or improved security. In this scenario, you will have to clear cache from WordPress to make the web browsers to fetch and cache the latest version of your site and other changes you made.

Let’s get started and see how and where to clear the WordPress cache:

1. Clear cache from WordPress Caching plugin

WordPress can create a cache using caching plugins to improve your website performance. In that case, you can use various plugins solely designed to manage cache. Two most popular options are-

a. Clear cache using WP Super Cache plugin

WP Super Cache is a plugin offered by WordPress developers, widely used for caching purposes. This plugin makes cache functions easier. You can clear cache in following steps-

Step 1: Go to your WordPress admin panel

Clear Cache in WordPress using plugin

Step 2: Navigate to Settings and click on WP Super Cache

wp super cache plugin settings

Step 3: On WP Super Cache page, navigate to Delete Cached Pages

Step 4: Click on the Delete Cache button.

delete cached pages

b. Clear WordPress cache using W3 Total Cache plugin

W3 Total cache is one of the top caching plugin used by some of the notable blog sites like mashable. It is known for its bandwidth-saving and customization features. To clear WordPress cache from this plugin, follow the given instructions-

Step 1: Go to your Dashboard

Step 2: Navigate to Performance

Step 3: Under this page, click on Purge all caches. This option will be given on the top of the performance page.

purge all cache using wp total cache plugin

2. Clear browser cache

When you visit a website frequently, your web browser tends to keep a cached copy of that site to fetch the site faster. Nonetheless, your web browser can only copy static files including stylesheets, JavaScript files, and images. However, it can lead you to see an outdated version of a web page, which is the reason you need to clear your web browser. Remember that clearing your web browser won’t have any effect on what your visitors see. The outcome of this step will solely affect your own browser only.

a. Clear Firefox Cache

To clear cache from your Firefox web browser,

Step 1: Click on hamburger menu and select Options

clear browser cache in firefox

Step 2: Go to Privacy and security tab and click on the Clear data button.

go to privacy and security tab

Step 3: A pop-up will appear, check the cached web content option and click on Clear.

click on clear data button

clear cache in firefox

b. Clear Google Chrome Cache

To clear cache from your Google Chrome web browser,

Step 1: Click on your menu icon and select More Tools > Clear browsing Data.

clear browsing data in google chrome

Step 2: After that, a pop-up will appear on screen that will allow you to select the data you want to delete.

clear cache of images and files

Step 3: Select cached images and file and click on Clear browsing Data. 

3. Clear cache from your WordPress managed hosting

Most WordPress managed hosting providers offer built-in caching features. The steps for clearing cache can vary depending on the web hosting provider you use. Therefore, if you wish to clear cache from the hosting provider, you can check the support documentation of your provider. However, you can also find the steps to clear cache from some best WordPress hosting providers including Bluehost, SiteGround, Kinsta, and WP Engine.

a. Clear WordPress cache  from Bluehost

Bluehost is the leading web hosting in the industry and is also endorsed by WordPress.org.

To clear cache in your Bluehost web hosting which is using WP Total Cache, go to your WordPress admin panel.

Step 1: Locate the Caching option on the top of the admin toolbar.

Step 2: By clicking on it, you will see a drop-down menu.

Step 3: Click on the Purge All option to clear all cached files from your WordPress cache.

clear wordpress cache in Bluehost

b. Clear WordPress cache from Kinsta

Kinsta is a dedicated managed WordPress hosting provider. Following are the step-by-step instructions to clear cache from Kinsta-

Using WordPress admin panel-

You can clear the Cache using the WordPress admin toolbar by clicking on the Clear Cache button.

clear wordpress cache in Kinsta

Using MU Plugin-

It offers great web hosting services to WordPress sites with its great WordPress compatible features. To manage cache features, Kinsta offers a dedicated Plugin, MU (Must Use) Plugin.

Install and set up MU plugin to get started. Go to Kinsta Cache> Clear cache.

delete cache using kinsta mu plugin

c. Clear WordPress cache from Siteground

SiteGround is another leading web hosting provider that offers built-in caching options to optimize the performance of your website. There are two ways to clear the cache of your WordPress site: 1)Using SiteGround hosting dashboard or 2) using WordPress admin dashboard

To clear WordPress cache using SiteGround hosting dashboard-

Step 1: Login to your hosting account.

siteground login account

Step 2: Navigate to Speed> Caching page under the site tools.

Step 3: After that, navigate to the Dynamic Cache page and click on the menu icon next to your domain name and click on the Flush cache option.

To clear cache using WordPress admin dashboard-

Step 1: Install and activate SG Optimizer plugin.

Step 2: After that, you need to click on the Purge SG Cache button in the admin toolbar and it’s done.

Delete WordPress cache in siteground

d. Clear cache from WP engine

WP Engine is a dedicated managed WordPress hosting provider. Similar to SiteGround and kinsta, they also offer built-in caching options, which makes managing caching features easier. To clear cache from WP Engine

Step 1: You need to go to your WordPress admin area.

Step 2: Then, navigate to the WP Engine’s menu icon and go to General settings

Step 3: Click on the Purge All button.

clear WordPress cache in Wp engine

3. Clear cache from your CDN

The ultimate goal of a Content delivery Network is to store the cached copy of your site on various servers scattered across the world to offer optimized speeds to your audience regardless of the distance. The steps for clearing cache can vary depending on the CDN provider you use. Therefore, if you wish to clear cache from the CDN provider, you can check the support documentation from your provider. However, you can also find the steps to clear cache from some popular CDN providers including Sucuri, Cloudflare, and StackPath.

a. Clear cache from Sucuri

Sucuri is a popular CDN provider, which offers much more than just CDN services, including backup and security solutions. Sucuri offers a straightforward way to clear cache, which can clear cache within seconds.

Step 1: Go to Sucuri’s firewall Settings

Step 2: Navigate to Performance > Clear Cache – Global.

Step 3: A pop-up will appear, describing what you are about to do and how it can affect you.

Step 4: Click on the Clear Cache button.

clear cache in sucuri

b. Clear cache from Cloudflare

Clearing cache in Cloudflare takes a couple of seconds as it’s a straightforward method similar to Sucuri.

Step 1: All you need to do is login to your Cloudflare account

Step 2: Select the website for which you want to clear cache.

Step 3: Hit the Caching button.

Step 4: Furthermore, if you have the enterprise place, you can also Purge the individual files or purge by tag, as shown below.

clear cache using cloudflare

c. Clear cache from Stackpath

StackPath was formerly known as MaxCDN and is one of the leading CDN providers in the industry. To clear cache from your StackPath CDN, follow the given instructions-

Step 1: Login to your Dashboard and navigate to Sites from the menu.

Step 2: A screen will pop-up, click on the manage button.

Step 3: On your left menu bar, click on Manage Cache.

Step 4: Next screen will let you select the files you want to purge. You can either purge the files individually or select Purge all files.

clear website cache using Stackpath

You just cleared cache on your StackPath CDN.

How to Clear Cache in WordPress – Conclusion

Caching sounds great and it improves the overall performance of your site. However, an outdated cache file can have the exact opposite effect and can prevent your audience from discovering the changes you’ve made to your site. In this article, I have explained steps to clear cache using WordPress plugins, from web browsers, web hosting providers, and CDN services. If you’re struggling to see the latest changes on your WordPress site, try deleting your cache using the aforementioned steps.

Related reading

How to move WordPress site from localhost to live server

How to move WordPress to new host

How to move WordPress to new Domain

How to check grammar and spelling mistakes in WordPress