WordPress · infra · fg-0131

Clearing the WordPress object cache does not purge page or edge caches

If you see Cache clear reports success, or 0 entries cleared, but visitors still see the old page, the cause and the fix for WordPress are below, last verified 2026-08-07.

Staletrust 50/100

This trap has not been confirmed recently and may be out of date.

Symptom
Cache clear reports success, or 0 entries cleared, but visitors still see the old pageA cache-busting query string such as ?cb=123 shows the changeResponse headers show a page cache hit
Cause
Object cache tools, including the mcp-wordpress wp_cache_clear tool, flush stored queries and objects, not rendered pages. The host's page cache keeps serving the old HTML until it expires; in the observed WP Engine setup that was max-age=600, about 10 minutes. A CDN in front of the host can hold its own copy on top.
Fix
Content stays stale until the host's page cache and the CDN are purged too. Purge the host page cache through its own tool or endpoint, purge the CDN if it caches HTML, and verify with a cache-busting query string before checking the plain URL.
Apply
POST /wp-json/wpe/cache-plugin/v1/clear_all_caches (WP Engine, application password auth), then curl -sI "https://example.com/page/?cb=$(date +%s)" and compare with the plain URL
Affected
WordPress on WP Engine EverCache, with or without a CDN, July and August 2026

Last verified 2026-08-07 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun