Smart Auto Cache Clear
The Smart Auto Cache Clear module provides targeted, automated cache invalidation for Drupal 10 and 11 sites. It solves the common frustration where updates to menus, blocks, taxonomy terms, media, paragraphs, or theme settings do not immediately appear due to stale cache tags or cache bins.
Features
- Menu & Navigation Invalidation: Automatically purges render and dynamic_page_cache bins whenever menus or menu links are modified.
- Block Invalidation: Automatically busts block render caches so changes are visible immediately to both anonymous and authenticated users.
- Taxonomy Term Invalidation: Refreshes term lists and related render caches on taxonomy term save.
- Theme Settings & Config Listener: Listens to configuration save events to refresh theme registry and render cache when theme or system configurations change.
- Deep Dependency Bubbling: Automatically resolves and invalidates host entities when Paragraphs or Media items are updated.
- Batch & Migration Protection: Intelligent throttling suppresses expensive flushes during batch imports, feeds, and Drush migrations.
- Live Activity Dashboard: Real-time event log and 1-click targeted flush controls at admin/reports/smart-cache-clear.
- Drush Integration: Built-in CLI commands (drush scc:status and drush scc:flush).
Post-Installation
After installing and enabling the module, navigate to Configuration > Development > Smart Cache Clear (admin/config/development/smart-cache-clear) to configure automated clearing options. You can also view recent activity and perform instant flushes under Reports > Smart Cache Clear (admin/reports/smart-cache-clear).
Additional Requirements
No additional external libraries required. Fully compatible with Drupal 10 and Drupal 11 core.
Recommended modules/libraries
None required.
Similar projects
While Drupal core provides cache tags, Smart Auto Cache Clear bridges the gap for non-entity configurations, deep paragraph/media relationships, and menu tree updates without requiring a full, disruptive cache rebuild.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Initial stable release for Drupal 10 and 11. | Sep 24, 2026 |