This module integrates with the Cloudflare API service. Gives an admin user the ability to clear cache on a per node basis or can purge for the whole site (zone).
Features
- Clear cache per node url. Action button added to node edit form.
- Clear all cache for site/configured zone.
- Works with both API key & token. Configure one of the two for usage.
- Can configure multiple zones per language/domain.
Required
- Cloudflare SDK (will be installed via Composer).
- Cloudflare API Account (Email, API Key or Token & Zone Id is required).
Install/Usage
Install via Composer to get all dependencies:
composer require drupal/cloudflare_node_cc
- Install and enable module like any other contributed module.
- Configure Cloudflare API settings at /admin/config/cloudflare-node-cache-clear
- If purging a single node cache, please visit the edit page of the node and purge via action button.
- If purging whole site wide cache, go through admin toolbar tools menu item "Purge Cloudflare Cache" or via: /admin/cloudflare-node-cache-clear/purge-cache
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content editing experience, Developer tools, Performance
168 sites report using this module
- Created by geoanders on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.





