BoxLang 🚀 A New JVM Dynamic Language Learn More...
An extension to provide Cloudflare API functionality from within a Preside application.
Initially, this is limited to purging assets from the Cloudflare cache.
For cache purging, you will need a Cloudflare API token. The token you need is user-based, not account-based.
cfut_
You can provide your application with the token in one of two ways:
CLOUDFLARE_API_TOKEN_CACHE_PURGE environment
variable (recommended)settings.cloudflare.apiTokens.cachePurge in your Config.cfc
In the Asset Manager, whenever you Reset derivatives for a single asset, multiple assets or an entire folder, those assets will automatically also be purged from the Cloudflare cache.
$
box install preside-ext-cloudflare-tools