• Hi Bryan,

    First – thanks for the great plugin.

    Second – Are their any plans to update the plugin to use v4 of the CloudFlare API? It’s currently hitting the V1 endpoint, which is incompatible with CloudFlare enterprise accounts.

    I was hoping that simply updating the value of $ccpurge_endpoint in ccpurge.class.php would do the trick, but apparently the v1 and v4 endpoints use a different syntax for purging individual assets from the cache.

    When hitting the V1 endpoint with debugging enabled in the plugin, the following is logged:
    Automatic Purge URL Cache for: https://redacted.com/secret/ Error: Invalid zone

    The Purge Entire Cache button still works.

    V1 Docs: https://www.cloudflare.com/docs/client-api.html
    V4 Docs: https://api.cloudflare.com

    Let me know if I can provide any more information. Happy to assist in any way possible.

    Best,
    Gabe

    https://www.ads-software.com/plugins/cloudflare-cache-purge/

  • The topic ‘Incompatible with CloudFlare Enterprise / Plans to upgrade to CloudFlare API V4?’ is closed to new replies.