cloudflare_cache_purge
Purge Cloudflare edge cache by specifying URLs, tags, prefixes, or entire zone. Use with caution: purge_everything triggers temporary origin load spike.
Instructions
Purge cached files from Cloudflare's edge. Purge specific URLs (files), cache tags, URL prefixes, or everything. CAUTION: purge_everything causes a temporary origin load spike as the entire cache is rebuilt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | Zone ID (32-char hex) or zone name (e.g., 'example.com') | |
| files | No | Array of URLs to purge (e.g., ['https://example.com/styles.css']) | |
| tags | No | Array of cache tags to purge (Enterprise only) | |
| prefixes | No | Array of URL prefixes to purge (Enterprise only, e.g., ['example.com/assets/']) | |
| purge_everything | No | Set to true to purge ALL cached content for the zone. Use with caution. |