Cache Tools!
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
- Reach out at #drunomics-contribute @ the Drupal Slack!