Recently, one of our readers asked us: how to clean the cache of a WordPress blog?
Your web browser, server, and plugins installed on your website can all use a caching process, which can hardly allow you to see the updated status of your blog.
In this article, we will show you how to properly clear the cache of your WordPress blog.
If you want to know more about caching, here's what you need to know
Caching solutions store a static version of your website. This allows WordPress to skip the execution of heavy PHP scripts and improve the performance of your website.
WordPress There are many types of caching solutions available. The most popular are cache plugins like " WP Super Cache " and " W3 Total Cache ».
These plugins provide an easy-to-use interface for controlling a blog's cache, when cached content expires, and on-demand caching.
Discover the 7 WordPress plugins to optimize the caching of your website
WordPress hosting managed by vendors like WPEngine use their own caching solutions, so you will not have to install this cache plugin.
If you use a CDN service like "MaxCDN" or "CloudFlare", it would also serve cached copies of static content.
Check out also the new 4 CDNs that you probably do not know
If you are 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 website and reduce downtime.
Finally, your browser can also store cached versions of pages on your computer.
The purpose of caching is to speed up your website and improve the overall user experience. However, sometimes it prevents you from seeing the changes you are making on your website, which can be frustrating. In this case, you will need to clear the caches to see your changes.
That said, let's take a look at how to clear your cache in WordPress.
1 Step: Clear the Browser Cache
First of all, you need to clear the cache of your Web browser. Most web browsers can store static content like style sheets, JavaScript, and images from a website to make subsequent visits faster.
However, sometimes web browsers may not realize that a web page has changed. Instead of fetching a new copy, they can still reload the page from the cached version on your computer.
Here is how you will clean your Google Chrome browser cache. First you need to click on the menu icon then select «More Tools> Clear browsing data ».
This will bring up a window where you can select the content you want to remove. Make sure the cached images and files are checked and then click the " Clear browsing datanot".
You have successfully cleared your browser cache, and now you can try to visit your website.
If you still do not see the changes, then go on to the next steps.
If you want to choose between the two best WordPress plugins cache management, discover our article: W3 Total Cache vs WP Super Cache: which one to choose?
For other web browsers see their respective documentation on how to clear their caches.
Step 2: Clear the cache of a WordPress plugin
If you use a caching plugin on WordPress, you must clear the cache of your plugin. Most caching plugins allow you to do this easily from their respective settings.
Empty Cache from WP Super Cache
« WP Super Cache Is the most popular cache WordPress plugin. It allows you to clean or purge all cached content with one click.
You must visit " Settings> WP Super Cache »And click on the button« delete Cache ».
That's it, WP Super Cache will remove all cached files from your website.
Clear Cache with W3 Total Cache
W3 Total Cache is another popular cache WordPress plugin. It also makes it very easy to remove the cache.
Meeting on " performance »Dashboard »And click on« all caches buttons ».
Empty the cache Sucuri
If you are using a web application firewall like Sucuri to protect your website, they also have their own caching systems.
You can clear the cache of your installation " Sucuri By going to " Sucuri> WAF In your WordPress dashboard.
If you want to discover other WordPress plugins that will allow you to manage your cache, here are 2 alternatives that will be perfect.
1. WP Rocket
WP Rocket is the best WordPress plugin caching in the market. This is the simplest and most beginner-friendly caching plugin, which is very useful if you don't know the technical terms used for different caching options.
It allows users to instantly cache their website in one click. His robot automatically fetches your WordPress pages to build the cache, and then automatically activates the recommended WordPress caching settings, such as gzip compression, page caching, and cache preloading.
WP Rocket also includes optional features that you can enable to further improve performance. Including Lazy Loading images, CDN support, DNS prefetching, minification, etc.
Download | Demo | Web hosting
2. WP Fastest Cache
WP Fastest Cache is a WordPress caching plugin that offers almost anything a user can look for. The developers of this plugin claim that it is the easiest and fastest WP Cache system. And to be honest, it is! With over 300 active installs, this plugin provides a fast browsing experience for visitors.
Plus, it's easy to install and super easy to use. This plugin uses the mod rewrite to create static HTML files based on the dynamism of WordPress. Better yet, it automatically modifies the .htacces file.
In addition, it offers cache timeout feature. Which means that all cached files will be deleted at a time determined by you.
Download | Demo | Web hosting
3. Lighthouse
In order for WordPress to install and run smoothly, i.e. quickly and without errors, it needs a bit of cleaning up. Lighthouse is a performance optimization tool. Its role is to get rid of the various defects of WordPress; it can be filters, actions, introduced codes, integrated codes, or actions of third parties.
The purpose of this cleanup is to improve browser cache and caching plugins so that they can work at 100% efficiency.
Download | Demo | Web hosting
Other recommended resources
If you want to go further in caching, we also offer other articles that will come in addition.
- How to use the non-persistent cache of WordPress
- How to install and configure the WP Super Cache plugin
- WordPress cache: Your changes are not displayed?
- 7 WordPress plugins to improve your delivery system
Conclusion
Here ! That's it for this tutorial, we hope it will allow you to easily delete your WordPress blog cache. If you have any suggestions or remarks, they will be welcome.
However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.
If you have suggestions or remarks, leave them in our section Comments.
...