'debug' => false,

            'default_ttl' => 0,

            'private_headers' => ['Authorization', 'Cookie'],

            'skip_response_headers' => ['Set-Cookie'],

            'allow_reload' => false,

            'allow_revalidate' => false,

            'stale_while_revalidate' => 2,

            'stale_if_error' => 60,

            'trace_level' => 'none',

            'trace_header' => 'X-Symfony-Cache',



Specifies the default number of seconds (the granularity is the second as the Response TTL precision is a second) during which the cache can immediately return a stale response while it revalidates it in the background (default: 2). This setting is overridden by the stale-while-revalidate HTTP Cache-Control extension (see RFC 5861).


Powered by Froala Editor