Experimental project
This is a sandbox project, which contains experimental code for developer use only.
A simple module to purge everything on a free tier Cloudflare zone.
Module has no dependencies.
Installation
You can include this module by pulling it from the repo and put it under modules/custom/ directory.
git clone --branch 8.x.2.x git@git.drupal.org:sandbox/kburakozdemir-3172067.git
mv kburakozdemir-3172067 purgecloudflarefreetier
cd purgecloudflarefreetier
rm -rf .git/
# upload to modules/custom/
Configuration
- Enable the module
- Visit admin/config/purgecloudflarefreetier/adminsettings
- Enter required settings
- Click 'Save Configuration'

Logic
This module will purge everything on a free tier Cloudflare zone on the following hooks:
- hook_entity_insert
- hook_entity_update
- hook_entity_delete
Caution
Purging everything in the cache in Cloudflare may not be suitable for your caching strategy. Although single file purging by URL via API is allowed in Cloudflare Free Tier, this requires lots of logic and probably won't be implemented!
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Integrations
- Created by kburakozdemir on , updated
