Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module offers a safer and more efficient way to clear Drupal's cache by targeting specific cache tags instead of performing a full cache rebuild. This avoids potential issues on large or heavily cached sites, such as Redis cache flushes, long execution times, and performance degradation, by only invalidating what is necessary. It provides a simple interface for administrators to manage cache tag invalidations with controlled access and an optional cooldown feature.

Cache Tags Invalidator provides a safe and targeted way to invalidate cache in Drupal by using cache tags only, instead of clearing the entire cache.

On large or highly cached sites (for example, sites using Redis, reverse proxies, or multiple cache layers), performing a full cache rebuild can be risky. In some cases, clearing all cache may:

  • Invalidate the entire Redis cache for Drupal.
  • Take longer than the expected execution time.
  • Cause timeout errors or temporary performance degradation.
  • Impact active users while cache is being rebuilt.

This module avoids those issues by allowing administrators to invalidate only the cache tags that are actually needed, leaving the rest of the cache intact.

Features

  • Invalidate specific cache tags without running a full cache rebuild.
  • Helps prevent Redis cache flushes caused by full cache clears.
  • Reduces execution time and avoids timeout-related errors.
  • Improves stability and performance on large or high-traffic sites.
  • Simple administrative interface under the Development configuration section.
  • Access controlled by a dedicated permission.
  • Optional cooldown to prevent accidental or excessive invalidations.

Installation

  1. Download and enable the module as usual.
  2. Grant the Invalidate cache tags permission to the appropriate roles.
  3. Navigate to Administration » Configuration » Development » Invalidate cache tags.
  4. Enter one or more cache tags and confirm the action.

Additional Requirements

This module has no additional requirements beyond Drupal core.

No additional modules are required. This module is designed to work with Drupal core caching and integrates naturally with setups using Redis or other cache backends.

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

Tracked releases
1
Tracked since
Jan 2026
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0-alpha1 Pre-release 9–10 Jan 29, 2026