---
title: "Cloudflare cache purge"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/integrations/cloudflare/cache-purge-build-plugin/"
last_updated: "2026-07-15T07:12:31.000Z"
---
[Back to Cloudflare](/integrations/cloudflare/)

## Details

-   Developed by
-   Website[www.cloudflare.com](https://www.cloudflare.com/)
-   Need Help?[Contact Cloudflare](https://support.cloudflare.com/hc/en-us)
-   More Info
    -   [npm package](https://www.npmjs.com/package/netlify-purge-cloudflare-on-deploy)
    -   [Review release notes](https://github.com/chrism2671/netlify-purge-cloudflare-on-deploy/releases)
    -   [Read docs](https://github.com/chrism2671/netlify-purge-cloudflare-on-deploy#readme)
    -   [Report an issue](https://github.com/chrism2671/netlify-purge-cloudflare-on-deploy/issues)

Automatically purge Cloudflare cache on Netlify deploy.

-   Strictly this plugin triggers the cache purge before deploy (but after build), as this is the only functionality Netlify provides.
-   Cloudflare supports two methods of authentication. API TOKEN (Recommended) and API KEY (Legacy).
-   In the event the plugin finds both API Token and API Key environment variables, it will default to using API Token as this is the recommended method of authentication.