CDN: Cloudflare¶
When to use Cloudflare¶
Use Cloudflare when your site is fronted by a Cloudflare zone and you want publish-time cache purging with scoped API tokens.
Required settings¶
- zone ID,
- API token with Zone Cache Purge permissions for the target zone.
Routing and cache rules¶
Recommended rules:
- purge targeted paths where possible,
- keep token scope limited to the production zone,
- rotate tokens and update configuration regularly.
Validation checklist¶
- token and zone ID pass save/test,
- publish triggers purge successfully,
- updated pages appear without stale cache artifacts.