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

v1.0.0 2022-09-22 12:09 UTC

This package is auto-updated.

Last update: 2024-12-09 13:06:15 UTC


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)

  1. Require the package:
composer require imi/magento2-cache-debug
  1. Enable the module:
bin/magento module:enable IMI_CacheDebug
bin/magento setup:upgrade
  1. Enable it the configuration:
    1. Via CLI:
    bin/magento config:set system/full_page_cache/production_logging_enabled 1 
    1. Or in the adminpanel under Stores > Settings > Configuration > Advanced > System > Full Page Cache > Enable Logging in Production
  2. 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.