An open API service indexing awesome lists of open source software.

https://github.com/ecency/cf-cache

cloudflare cache purge
https://github.com/ecency/cf-cache

blockchain cache cloudflare ecency hive purge

Last synced: 21 days ago
JSON representation

cloudflare cache purge

Awesome Lists containing this project

README

          

# Cloudflare cache purge

Simple script to purge Cloudflare cache for user avatars, cache purged when account update operations are detected on Hive blockchain.

### Env variables

`CF_ZONE` - Cloudflare zone ID for your domain

`CF_API_TOKEN` or `CF_ACCOUNT_API_TOKEN` - Cloudflare API token with permission to purge cache for the zone

`CF_EMAIL` and `CF_KEY` - legacy email and global API key (used only if no token is provided)

`DOMAIN` - imagehoster instance, e.g. https://images.ecency.com

Purges are sent in batches of up to 30 URLs to comply with Cloudflare plan limits.