debug

Enable the debug parameter to set a custom header (X-Cache-Debug) header on each response. You can then configure your caching proxy to add debug information when that header is present:

# app/config/config.yml
fos_http_cache:
    debug:
        enabled: true
        header: Please-Send-Debug-Infos

enabled

type: enum default: auto options: true, false, auto

The default value is %kernel.debug%, triggering the header when you are in dev mode but not in prod mode.