window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/wpbrilliance.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.5.1"}}; !function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,8205,55356,57212],[55357,56424,8203,55356,57212])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o
Feb 6, 2020
43 Views
0

How to Clear Your Cache in WordPress

Written by

Recently, one of our readers asked us how to clear cache in WordPress? Your web browser, hosting server, and caching plugins can all serve cached content which can make it difficult for you to see the changes you made to your website right away. Clearing your WordPress cache is also the first troubleshooting advice that you’ll often hear. In this article, we will show you how to properly clear the cache in WordPress. We’ll cover browser cache, web hosting cache, and top WordPress caching plugins in this guide. What is Cache and When Do You Need to Clear Cache? Caching solutions store a…

Recently, one of our readers asked us how to clear cache in WordPress?

Your web browser, hosting server, and caching plugins can all serve cached content which can make it difficult for you to see the changes you made to your website right away.

Clearing your WordPress cache is also the first troubleshooting advice that you’ll often hear.

In this article, we will show you how to properly clear the cache in WordPress. We’ll cover browser cache, web hosting cache, and top WordPress caching plugins in this guide.

How to clear cache in WordPress

What is Cache and When Do You Need to Clear Cache?

Caching solutions store a static version of your website. This allows WordPress to skip running the heavier PHP scripts and improve your website speed.

How caching works in WordPress

There are many different type of caching solutions available. The most popular ones are WordPress caching plugins like WP Rocket and WP Super Cache.

These plugins offer an easy to use interface for controlling what to cache, when to expire cached content, and cleaning up cache on demand.

Managed WordPress hosting providers like WP Engine also run their own caching solutions, so that you don’t have to install a caching plugin.

If you are using a like MaxCDN, then they would also serve cached copies of static content.

If you’re using a web application firewall like Sucuri or CloudFlare to improve your WordPress security, then they also have their own cache to speed up your site and reduce downtime.

Lastly, most modern web browsers will also store cached versions of pages on your computer.

The purpose of caching is to speed up the website and improve overall user experience. However, sometimes this causes you to not see the changes you make right away which can be frustrating. In that case, you will need to clear caches to see your changes live.

Having said that, let’s take a look at how to clear your cache in WordPress.

Step 1: Clear Your Browser Cache

First, you need to clear your web browser cache. Most web browsers can store static content like stylesheets, JavaScript, images from a website to make your subsequent visits faster.

However, sometimes web browsers may fail to realize that a web page has changed. Instead of fetching a fresh copy, they may still reload the page from the cached version stored on your computer.

Here is how you will clean your browser cache in Google Chrome. First, you need to click on the menu icon and then select More Tools » Clear Browsing Data.

Clear cache in Google Chrome

This will bring up a popup where you can select the content you want to remove. Make sure that cached images and files option is checked and then click on the ‘Clear browsing data’ button.

Clear browsing data in Google Chrome

You have successfully cleared your browser cache, and you can now try visiting your website. For more details, see our guide on how to clear cache in all major browsers.

If you are still not seeing the changes you made, then move on to the next steps in this article.

Step 2: Clear Cache in Your WordPress Caching Plugin

If you are using a WordPress caching plugin on your site, then you need to clear your plugin cache. Most caching plugins allow you to easily do that from the plugin’s Settings page.

Clear Cache in WP Rocket

WP Rocket is the best WordPress caching plugin on the market. The best part about using WP Rocket is that it proactively builds your WordPress cache in the background, so your users are always served a cached version.

It also makes it very easy to clear caches files with a single click.

Simply go to the Settings » WP Rocket page and click on the ‘Clear Cache’ button under the dashboard tab.

Clear WP Rocket cache

WP Rocket will now clear all cached files for you.

Clear Cache in WP Super Cache

WP Super Cache is a popular WordPress caching plugin. It allows you to clean or purge all cached content with a single click.

You need to visit Settings » WP Super Cache page and click on ‘Delete Cache’ button.

Delete cache in WP Super Cache

That’s all, WP Super Cache will now delete all cached files from your website.

Clear Cache in W3 Total Cache

W3 Total Cache is another popular WordPress caching plugin. It also makes it super easy to clear cache with one click.

Head over to Performance » Dashboard page and click on ’empty all caches button.

Empty cache in W3 Total Cache

W3 Total Cache will now delete all cached content for your site.

Clear Cache on WP Engine

WP Engine is a managed WordPress hosting provider. They run their own caching solution, so their customers don’t need to install a caching plugin.

If you are unable to notice changes take effect immediately, then you can easily clear WP Engine cache from your WordPress admin area.

You need to click on the WP Engine menu item in the admin bar and then under ‘General’ settings click on purge all caches button.

Clear WP Engine cache

WP Engine will now purge all stored cache for your WordPress site.

Clear Cache on Bluehost

Bluehost is one of the best WordPress hosting companies in the business. They offer a built-in caching solution that instantly improves your WordPress performance and speed.

You can clear your Bluehost WordPress cache from WordPress admin area.

Simply login to your WordPress admin area and you will notice a ‘Caching’ button in the admin tool bar. Take your mouse over and you’ll see the option to ‘Purge All’ cache.

Clear WordPress cache in Bluehost

Bluehost will now clear all files from their WordPress cache.

Clear Cache in SiteGround

SiteGround is a leading WordPress hosting provider that’s known for speed and top-notch customer support. They offer a built-in caching solution to improve your website performance.

You can clear SiteGround cache from your hosting account control panel as well as the WordPress admin area. We’ll show you both methods.

Clear SiteGround cache from your hosting dashboard

Login to your hosting account dashboard go to Speed » Caching page under site tools.

From here, switch to the Dynamic cache tab. Click on the menu icon next to your domain name and then select Flush cache option.

Clear cache on SiteGround

Clear SiteGround cache from WordPress admin dashboard

You can also manage SiteGround cache by installing and activating the SG Optimizer plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to click on the Purge SG Cache button in the WordPress admin toolbar.

Purge SiteGround cache

The plugin will now clear your SiteGround WordPress cache.

Clear Cache in Sucuri

If you’re using a WordPress firewall like Sucuri to protect your website, then they also have their own layer of caching.

You can clear the cache from your Sucuri plugin by going to Sucuri » WAF menu in your WordPress admin area.

Sucuri Clear Cache

Bonus Tip: If you have recently moved your WordPress website, then you may also need to clear your DNS cache. This will ensure that you are getting the updated DNS information and accessing the newer version of your website.

We hope this article helped you learn how to clear cache in WordPress. You may also want to see our guide on how to boost WordPress speed and performance.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Clear Your Cache in WordPress appeared first on WPBeginner.

Article Categories:
Beginners Guide

Leave a Reply

Your email address will not be published. Required fields are marked *

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc a odio nec justo rutrum faucibus.
$20
Buy Now