Cloudflare: Node Cache Clear
Part of the Cloudflare ecosystem · 19 projects
This module allows administrators to clear caches on Cloudflare, either for individual nodes or for the entire website, directly from the Drupal admin interface. It supports different authentication methods and can be configured for multiple domains.
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/services/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
Depends on
Dependencies of the latest stable release
- Admin Toolbar admin_toolbar_tools
- Key
- node Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Cloudflare ecosystem
Most installed first