nelmio/esi-debug-bundle

Shows you caching information around ESI requests for debugging purposes

1.1.0 2013-05-29 08:57 UTC

README

About

The NelmioEsiDebugBundle shows you caching information around ESI requests for debugging purposes.

Features

  • Visual wrapping of ESI requests
  • A link in the Web Debug Toolbar to hide the wrapper divs

Screenshot

68747470733a2f2f7261772e6769746875622e636f6d2f6e656c6d696f2f4e656c6d696f457369446562756742756e646c652f6d61737465722f5265736f75726365732f646f632f696d672e706e67

Configuration

If you want to disable the wrapper divs without disabling the bundle, you can do it via the configuration:

nelmio_esi_debug:
    enabled: false

Installation (Symfony 2.1+)

Require the nelmio/esi-debug-bundle package in your composer.json and update your dependencies.

$ composer require nelmio/esi-debug-bundle

Add the NelmioEsiDebugBundle to your application's kernel:

public function registerBundles()
{
    $bundles = array(
        ...
        new Nelmio\EsiDebugBundle\NelmioEsiDebugBundle(),
        ...
    );
    ...
}

License

Released under the MIT License, see LICENSE.