Hyperflow Purge Cache
Purge the proxy cache, when your Webflow site is republished
Purge the proxy cache, when your Webflow site is republished
Purges the global Cloudflare cache for a site. This works with our caching-proxy configuration and is intended to be automatically triggered by Webflow's site publish Webhook.
Individual CMS item publication and cache purging
Plus Webflow.js etc.
Learn more about Hyperflow configuration here.
Service Name: purge-cache
{
"version": 1,
"zoneId": "28fb418cb8b59d549384f34fe0decd07"
}Requires a Cloudflare API key, which has purge cache permissions on the desired zone;
Account > Workers & Pages > cloudflare-clear-cache > Settings > Variables
Add CLOUDFLARE_API_TOKEN (value) Encrypted
Variable.
We recommend a route like;
*DOMAIN/_purge
*DOMAIN/_hf/purge-cache
*hf.DOMAIN/purge-cache
Get your SiteID
https://developers.webflow.com/reference/list-sites
Create your Webhook
https://developers.webflow.com/reference/create-webhook
site_id = your site ID, above
triggerType: site_publish - Sends a site_publish event
url - your URL
https://developers.cloudflare.com/workers/learning/how-the-cache-works/
https://developers.cloudflare.com/workers/examples/cache-api/