imi / magento2-cache-debug
A Magento 2 module that lets you add full page cache debug headers in production mode.
Installs: 1 751
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 1
Type:magento2-module
Requires
- php: ^8.1
- magento/framework: ^103.0.4
- magento/module-page-cache: ^100.4.0
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.