W3 Total Cache plugin
W3 Total Cache is a popular caching plugin for WordPress. You can clear its cache from the administrative GUI, or from the command line with the WP-CLI program.Using the WordPress administrative interface
To clear the cache for W3 Total Cache using the administrative interface, follow these steps:- Log in to WordPress as the administrator.
- In the left sidebar, click Performance, and then click Dashboard. The W3 Total Cache page appears.
- To clear all of the caches at once, click empty all caches.
👍 Tip Alternatively, you can clear specific caches:
- To clear the memcached cache, click empty only the memcached cache(s).
- To clear the opcode cache, click empty only the opcode cache.
- To clear the disk cache, click empty only the disk cache(s).
Using WP-CLI
To clear the cache for W3 Total Cache using the command line, follow these steps:- Log in to your account using SSH.
- At the command prompt, change to the directory where WordPress is installed. For example, type
cd ~/public_html. - Type the following commands: