w3tcW3 Total Cache Abilities
Caching integration. Page cache and its purge controls.
manage_options 3edit_posts 1Available Tools (4)
w3tc_purge_allDestructivePurge every W3 Total Cache cache type at once (page cache, minified assets, database cache, object cache) via the plugin's w3tc_flush_all() API. Use after a major site update, content migration, or when troubleshooting stale content.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}w3tc_purge_urlDestructivePurge the W3 Total Cache page-cache entry for a single URL on this site. Resolves the URL to a WordPress post or page and purges that post's cached page and its associated archive pages via w3tc_flush_post(), leaving the rest of the cache intact.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Full URL on this site (e.g. https://yoursite.com/about/)"
}
},
"required": [
"url"
]
}w3tc_purge_minifyDestructivePurge only W3 Total Cache's minified/combined CSS and JS assets via w3tc_minify_flush(), leaving cached pages and other cache types intact. Use after changing theme or plugin styles/scripts when cached HTML is still fine but combined assets are stale.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}w3tc_purge_object_cacheDestructiveFlush only the object cache (Redis/Memcached/APCu when W3 Total Cache manages it) via w3tc_objectcache_flush(), leaving the page cache and minified assets intact.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}