This module adds a "Rebuild Cache" button to the admin toolbar, allowing users with a specific permission to manually clear all site caches. This is useful when roles other than site administrators need the ability to flush caches.
Drupal clears the relevant caches on its own when content or configuration changes. In practice, that is not always enough.
In Drupal core, clearing caches is tied to the administer site configuration permission. That permission grants access to far more than clearing caches, such as site settings, performance, and other system configuration. Giving it to editors only so they can clear caches hands them much more control than they need.
Rebuild Cache Access separates this one action from site configuration. It adds a dedicated rebuild cache access permission, and every role with this permission gets a Rebuild cache button in the admin interface: in the Navigation sidebar or in the classic Toolbar, whichever the site uses. One click on the button runs drupal_flush_all_caches(), the same full cache rebuild as Clear all caches on the Performance page or drush cache:rebuild.
Documentation: project.pages.drupalcode.org/rebuild_cache_access
Ask your assistant about Rebuild Cache Access
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.16 | Stable | 10–11 | Oct 16, 2026 | ||
| 8.x-1.15 | Stable | 10–11 | Oct 13, 2026 | ||
| 8.x-1.14 | Stable | 10–11 | May 4, 2026 | ||
| 8.x-1.13 | Stable | 10–11 | Apr 19, 2026 | ||
| 8.x-1.12 | Stable | 10–11 | Sep 20, 2024 | ||
| 8.x-1.11 | Stable | 8–10 | Aug 21, 2024 | ||
| 8.x-1.10 | Stable | 8–10 | Jun 7, 2024 | ||
| 8.x-1.9 | Stable | 8–10 | Jul 10, 2023 |