How to Clear Cache in WordPress – Step by Step Guide
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?
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
Step 2: Navigate to Settings and click on WP Super Cache
Step 3: On WP Super Cache page, navigate to Delete Cached Pages
Step 4: Click on the Delete Cache button.
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.
2. Clear browser cache
a. Clear Firefox Cache
To clear cache from your Firefox web browser,
Step 1: Click on hamburger menu and select Options
Step 2: Go to Privacy and security tab and click on the Clear data button.
Step 3: A pop-up will appear, check the cached web content option and click on Clear.
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.
Step 2: After that, a pop-up will appear on screen that will allow you to select the data you want to delete.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Build a Stunning Website in Minutes with TemplateToaster Website BuilderCreate Your Own Website Now