WordPress caches content on your website with the help of caching plugins to speed it up. Based on the plugin you are using, the method to clear the caches would differ. But most of them has a settings page where you could easily purge different kinds of caches including the Static, Dynamic, PHP OP, and Database caches. So, if you have a caching plugin installed on your WordPress website, you are good to go just by clicking on that specific link provided by the plugin to clear your website cache.
But in this article, we are going to talk about a difference scenario where you no longer have a WordPress caching plugin installed. Maybe you disabled it for diagnosing purposes, or you are moving to another caching plugin and the recent caches makes conflicts with the new one. So, we are going to talk about manually clearing WordPress cache.
Manually delete WordPress cache
WordPress stores all your cache files in the directory /public_html/wp-content/cache/. No matter which caching plugin you use to create cached versions of your WordPress posts and pages, all your caches will be stored in different folders in your cache directory inside wp-content folder in your root WordPress installation directory.
So, that means, just deleting everything inside the cache directory will clear all your website caches thus resolving any cache conflicts with the new caching plugins that you are going to install on your WordPress site. So, the simple way to clear all your WordPress caches manually is by deleting everything inside the /public_html/wp-content/cache/ folder. This will remove not only the static cache but the custom CSS files made by the WP Rocket plugin, the advanced settings PHP files put by the W3 Total Cache plugin, and many more. That’s it, that’s how you clear WordPress cache manually.