Cloudflare Cache Purge logo

Developer tools

Cloudflare Cache Purge Integrations

Refresh cached pages after a product update, release or publishing event. Select one URL, a tagged group of pages or a path in your Cloudflare zone.

Then take action

Cloudflare Cache Purge Actions

7 Actions

Choose what your workflow does in Cloudflare Cache Purge.

Purge selected content in a versioned environment

Remove matching content so the next request fetches a fresh copy. Only the specified environment is affected.

Purge selected content in a zone

Remove matching content so the next request fetches a fresh copy. Applies to the connected zone.

More actions

Refresh a cached page by URL

Remove one cached URL after its published content changes.

Refresh content with a cache tag

Remove cached responses carrying an exact Cache-Tag from the origin.

Refresh pages under a URL prefix

Remove cached URLs beginning with the selected hostname and path, such as docs.example.com/guide/.

Revalidate selected content in a versioned environment

Keep matching content in cache and ask Cloudflare to revalidate it with the origin. Only the specified environment is affected.

Revalidate selected content in a zone

Keep matching content in cache and ask Cloudflare to revalidate it with the origin. Applies to the connected zone.

Ready-made Cloudflare Cache Purge Workflows

7 total

Start with a published template and adapt it to your work.

Browse all templates →
Cloudflare Cache Purge →
More templates

Cloudflare Cache Purge setup notes

  • Connect the zone that serves your content Enter the zone ID and a token with Cache Purge for that zone. For an account-owned token, also enter the owning account ID. FastHook checks the token when you connect. Cloudflare checks zone permission when you run an action.

  • Choose which visitors need a fresh copy Use the full URL for one standard cache key. For variants, send files with the headers used in your custom cache key. Use tags for related pages, hosts for an entire hostname, or prefixes for a directory. A whole-zone purge refreshes every cached item.

  • Choose eviction or revalidation Purge removes matching entries. Invalidate marks entries stale so Cloudflare can revalidate with the origin. Version Management environments use a separate action and require their environment ID. Availability and rate limits depend on the Cloudflare plan.

  • Check the result at the edge A successful action returns a Cloudflare request ID. Request a previously cached test URL again and inspect its content and CF-Cache-Status to verify the visitor experience.