PO never purges automatically — WordPress plugin does not call the API
-
Hi,
Thanks for the reply. I can’t run that test any more: I have disabled APO on
the zone and removed the Cloudflare WordPress plugin. Here is everything I
measured while it was still in place, so you have the full picture.TIMELINE — 8 September 2026, all times UTC, measured from an external client
12:09 APO enabled on buzzarena.com (zone 50be6de476b26998d44cc7ec18a24253).
Every page cached at this moment.
12:00, 12:05, 13:00, 14:06 Four articles published.
14:21 Every navigation page still serving the copy stored at activation:/ HIT age 7555s copy of 12:09 latest article: NO /geek HIT age 7384s copy of 12:10 latest article: NO /bons-plans HIT age 7488s copy of 12:10 latest article: NO /guides-dachat HIT age 6094s copy of 12:10 latest article: NO /high-tech HIT age 7384s copy of 12:10 latest article: NO All responses carried cf-apo-via: tcache.14:47 After clicking Purge Cache inside WordPress, and with the plugin
reporting itself as connected and Automatic Cache Management ON, the
API token still showed “Last used: May 27, 2026” — unchanged through
all four publications of the day.14:57 I called the purge endpoint by hand with the same credentials:
POST /client/v4/zones/50be6de.../purge_cache {"files":["https://www.buzzarena.com/"]} -> {"success":true} The homepage updated within seconds (age 0, correct content).15:25 APO disabled. Site back to cf-cache-status: DYNAMIC, TTFB 89-344 ms.
15:43 Cloudflare WordPress plugin removed.So the token, its permissions and the zone were never the problem. Whatever the
plugin was doing during those two hours, it was not purging — and a front page
frozen on a two-hour-old copy is not viable for a site that publishes several
times a day.A SECOND, SEPARATE ISSUE
Throughout, the plugin displayed “cf-edge-cache response header is missing!
Please clear any server cache used via other plugins.” Clearing every cache
layer did not change it. The header was in fact present on every response type
I could produce:Cloudflare cache HIT cf-edge-cache: cache,platform=wordpress
PHP-generated (unknown query) cf-edge-cache: cache,platform=wordpress
HEAD request cf-edge-cache: cache,platform=wordpressThe plugin’s own verification was therefore wrong about my origin. Your
community forum and the WordPress.org support forum both have long-running
threads on this exact warning, several of them pointing at a conflict with
another page-cache plugin.QUESTIONS
- Is there a way to inspect the purge requests the plugin believes it is
sending, so a user can tell “connected” from “actually calling the API”? - GitHub issues #404, #456 and #484 on cloudflare/Cloudflare-WordPress describe
the same failure to purge across several plugin versions, and your community
forum has threads titled “APO does not clear the homepage after publishing a
post” going back to 2021. Is this the same defect, and is a fix planned? - If the plugin cannot be relied upon for invalidation, is calling the purge
API directly from the site a supported way to run APO?
I am happy to re-enable APO on a staging basis if that would help you reproduce.
Best regards,
Bernard David Corroy — buzzarena.com - Is there a way to inspect the purge requests the plugin believes it is
You must be logged in to reply to this topic.