Drupal is a registered trademark of Dries Buytaert

The Cache Debugger module offers a straightforward interface to enable or disable render cache debugging for your Drupal site. This feature is particularly useful in development environments where inspecting cache behavior and troubleshooting caching issues are necessary without directly modifying the services.yml file.

To activate render cache debugging, go to the module's configuration page at /admin/config/development/cache-debugger.

Once enabled, debugging output will be appended to each rendered element.

Simply visit any page on your Drupal site, and you will see additional debug information in the HTML output. This information includes cache contexts, tags, and other cache-related metadata for each rendered element.

Enabling the module creates a copy of the default.services.yml file as services.yml and updates it to set debug: true. Disabling the module removes the services.yml file.

Please note that this module is intended for use in development environments only and should never be enabled on production sites due to the significant performance impact of cache debugging.

Activity

Total releases
1
First release
Dec 2024
Latest release
1 year ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-rc1 Pre-release Dec 11, 2024