netlify-purge-cloudflare-on-deploy

JSON →
library 1.2.0 ·javascript
verified Jun 7, 2026

Netlify build plugin that automatically purges the Cloudflare cache for your zone upon each deploy. Version 1.2.0 is the latest stable release. It supports two authentication methods: API Token (recommended, with granular permissions) and Legacy API Key (full account access). The cache purge is triggered before the deploy but after the build, which is the only timing Netlify allows. The plugin is maintained by a community contributor and is available on npm. It requires environment variables for Cloudflare credentials and zone ID.