Purge cache for a subset of URLs not working
-
To programmatically purge specific URLs, I’ve been using the method described in the plugin FAQ > Advanced:
do_action("swcfpc_purge_cache", array("https://example.com/some-page/", "https://example.com/other-page/"));
After today’s update to 5.0.5, this no longer works. It worked reliably until today.
From the debug log, I see six lines like this one any time I try to use my purge php file:[2024-10-29 09:50:27] [cloudflare::purge_cache_urls_async_cache] Response for request 0: {"success":false,"errors":[{"code":9106,"message":"Missing X-Auth-Key, X-Auth-Email or Authorization headers"}]}
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.