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

Supporting organizations: 
Full development

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Performance
  • chart icon38 sites report using this module
  • Created by hideaway on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases