imi / magento2-cache-debug
A Magento 2 module that lets you add full page cache debug headers in production mode.
Package info
github.com/iMi-digital/magento2-cache-debug
Type:magento2-module
pkg:composer/imi/magento2-cache-debug
v1.0.0
2022-09-22 12:09 UTC
Requires
- php: ^8.1
- magento/framework: ^103.0.4
- magento/module-page-cache: ^100.4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This module lets you enable full page cache debug headers in production mode.
Prerequesites
This module requires PHP 8.1 and at least Magento 2.4.4.
Installation
Via Composer (recommended)
- Require the package:
composer require imi/magento2-cache-debug
- Enable the module:
bin/magento module:enable IMI_CacheDebug bin/magento setup:upgrade
- Enable it the configuration:
- Via CLI:
bin/magento config:set system/full_page_cache/production_logging_enabled 1
- Or in the adminpanel under Stores > Settings > Configuration > Advanced > System > Full Page Cache > Enable Logging in Production
- Flush config cache:
bin/magento cache:flush config
Manual Download
Download this repository and extract it under app/code/IMI/CacheDebug, then follow steps 2.- 4. of the installation via composer.