Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Cache Tools!

Security covered Maintenance fixes only 52 sites

This module enhances Drupal's caching by allowing you to customize cache tags and contexts, particularly for blocks and views. It helps remove generic cache information and replace it with more specific tags, improving cache efficiency.

Drupal already does very good job regarding caching and invalidating the content. But sometimes you may want to make couple of adjustments to cache behavior. For instance, you may want to sanitize (strip) particular cache tags and cache contexts which are too generic and place some more specific ones instead.

This module introduces couple of such caching improvements.

Its main feature is to sanitize cache tags and cache contexts for listed blocks. So if you want to get rid off too generic cache tags (node_list, taxonomy_term_list, etc) and cache contexts (route, url, url.query_args, etc), it does the job.

It introduces also custom cache tag for the views so it's placing more specific tags for the views. Namely, it places {entity}_{bundle}_pub (like node_article_pub or node_recipe_pub) instead of too general node_list. Placing them out of the box based on the configured filters and contexts in particular view.

Contribute

Drupal 8–11

Ask your assistant about Cache Tools!

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

Tracked releases
2
Tracked since
Nov 2024
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
8.x-1.8 Stable 8–11 Aug 17, 2026
8.x-1.7 Stable 8–11 Nov 6, 2024