CDN Settings

CDN Provider
Selects your CDN integration: Cloudflare, Bunny.net, a Generic Webhook, or “Disabled” to turn off CDN integration. When enabled, Mamba mirrors purges and warmups to your CDN and emits cache-tag headers for precise invalidation.


Cloudflare Settings

Zone ID
Your Cloudflare Zone identifier. Required for authenticated purge and configuration operations.

API Token
Scoped token with at least Zone → Cache Purge. Additional read scopes improve diagnostics and allow recommended settings to be applied.

Detect APO & Include Cache-Key Headers
Detects APO (Automatic Platform Optimization) and includes cache-key headers (device/geo/lang) in purges to invalidate the correct edge variants when APO varies content.

Send Cache-Tag Headers
Emits Cache-Tag headers on HTML/JSON responses to enable tag-based purges at Cloudflare for precise invalidations.

Apply Recommended Settings
One-click application of Cloudflare settings optimized for Mamba’s caching model. Uses AJAX to apply changes and displays results inline.


Bunny.net Settings

Pull Zone ID
Your Bunny.net Pull Zone identifier, required for purge operations.

API Key
Bunny API key used for purge requests. Stored securely without autoload.

Send CDN-Tag Headers
Emits CDN-Tag headers on HTML/JSON responses so Bunny can purge by tags for precise invalidation.

Use Wildcard/Prefix Purges for Media
Enables wildcard purging for media families (all sizes and derivatives). Not compatible with Perma-Cache; use when frequently replacing source assets.


Generic Webhook Settings

Webhook URL
Custom endpoint that receives purge events (URL/tag payload) when using a bespoke CDN flow.

Webhook Secret
Optional shared secret used to authenticate the webhook receiver and prevent spoofed purge requests.


Diagnostics

Test Connection / Test URL Purge / Test Tag Purge
Validates your CDN credentials and purge wiring by performing live calls and showing results to confirm the integration is healthy.

Copyright 2025 - Mamba


Mamba mascot