This module logs cache tag invalidations to help troubleshoot cache issues. You can enable or disable logging from the configuration page and view invalidations in the recent log messages, identified by the "log_cache_tags" channel.
Logging cache tags is helpful when you are troubleshooting problems with invalidations, origin hits, or just general cache tag insights. We found it helpful when we were trying to determine which cache tags were being invalidated at certain points. There's also a well-documented issue with the node:list cache tag invalidation with Drupal.
This module allows you to quickly log any cache tag invalidations (in the future, we'll log other cache tag functions) and gives you a toggle to turn the logging on and off so that you aren't filling the dblog with enormous amounts of cache tag data.
Simply enable to module and navigate to "/admin/config/log_cache_tags" and check the box for logging cache tag invalidations and start doing your regular work. Cache tag invalidations will show up with the "log_cache_tags" channel in the dblog "Recent log messages" list.
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 | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.2 | Stable | 10 | Jul 13, 2026 | ||
| 3.0.2-beta3 | Pre-release | Jul 3, 2026 | |||
| 2.0.2-beta3 | Pre-release | 10 | Jul 3, 2026 | ||
| 2.0.2-beta2 | Pre-release | 10 | Feb 21, 2026 | ||
| 3.0.2-beta2 | Pre-release | 11 | Feb 21, 2026 | ||
| 3.0.1 | Stable | 11 | Official release | Feb 19, 2026 | |
| 3.0.0-alpha1 | Pre-release | 11 | Nov 13, 2025 | ||
| 3.0.x-dev | Dev | Apr 3, 2025 | |||
| 2.0.x-dev | Dev | 10 | Mar 30, 2025 |