Sygnal Hyperflow
Micro-Consulting
  • 📗Overview
    • Hyperflow v2.0
    • What's New?
  • 📗CORE FEATURES
    • Overview
    • SEO Enhancements
    • Hyperflow 2 API
    • Logging
  • 📗HYPERFLOW APPS
    • Hyperflow Monitor
      • API
      • Alert Setup
    • Hyperflow Locale-Specific Domains
    • Hyperflow LLMS
      • Setting up LLMS.TXT
      • Setting up Markdown Pages
      • Hyperflow LLMS API
      • Future
    • Hyperflow CMS Preview
    • Hyperflow Files
    • Hyperspeed
  • 📗INSTALLATION
    • Hyperflow Setup
    • Cloudflare DNS Setup
      • GoDaddy
    • Hyperflow Installation
    • Micro-service RPC Interface
    • Monitoring & Maintenance Setup
  • 📗HYPERSPEED
    • About Hyperspeed
    • Hyperspeed Releases
    • Hyperspeed Caching Features
      • Purge Cache on Site Publish
    • Hyperspeed Security Features
    • Hyperspeed SEO Features
    • Hyperspeed Advanced & Custom Features
    • Hyperspeed Monitoring & Maintenance
    • Additional Notes
      • Hyperspeed API
      • Monitoring
      • Information
      • JS
      • CSS
      • Hyperflow Purge Cache
        • Purge Triggers
        • Purge HTML Only
        • Quickstart
      • Content Coverage
      • Special File Handling
      • Caching
      • Image Handler
      • Dev Setup
      • Hyperflow Inline SVGs
      • Hyperflow Image Optimization
    • Hyperflow Editor
    • Future
    • Webflow Notes
    • Troubleshooting
  • 📗ADVANCED HYPERSPEED
    • Kingside Castle (O-O)
    • Queenside Castle (O-O-O)
Powered by GitBook
On this page
  • R&D
  • Configuration
  • KV Store
  • Secrets
  • Deployment
  • Worker Routes
  • Webflow API Webhook
  • Future
  1. HYPERSPEED
  2. Additional Notes

Hyperflow Purge Cache

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.

R&D

  • Individual CMS item publication and cache purging

  • Plus Webflow.js etc.

Configuration

Learn more about Hyperflow configuration here.

KV Store

Service Name: purge-cache

{
  "version": 1, 
  "zoneId": "28fb418cb8b59d549384f34fe0decd07" 
}

Secrets

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

Deployment

Worker Routes

Variable.

We recommend a route like;

  • *DOMAIN/_purge

  • *DOMAIN/_hf/purge-cache

  • *hf.DOMAIN/purge-cache

Webflow API Webhook

Get your SiteID

Create your Webhook

  • site_id = your site ID, above

  • url - your URL

Future

PreviousCSSNextPurge Triggers

triggerType: site_publish - Sends a event

📗
https://developers.webflow.com/reference/list-sites
https://developers.webflow.com/reference/create-webhook
site_publish
https://developers.cloudflare.com/workers/learning/how-the-cache-works/
https://developers.cloudflare.com/workers/examples/cache-api/
https://blog.cloudflare.com/introducing-the-workers-cache-api-giving-you-control-over-how-your-content-is-cached/