WordPress does not have a built-in caching mechanism. However, many people use a caching plugin to help improve performance.
When caching is enabled, some types of changes (such as theme modifications) do not appear immediately. This article discusses how to clear the cache so you can be certain you are viewing the most recent version of your site.
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.
To clear the cache for W3 Total Cache using the administrative interface, follow these steps:
To clear the cache for W3 Total Cache using the command line, follow these steps:
wp w3-total-cache flush all wp cache flush all
If you use a caching plugin other thanW3 Total Cache, read that plugin's documentation for information about how to clear the cache.
For more information about using caching with WordPress, please visit https://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens.
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.