@@ -1250,7 +1250,7 @@ allow_reload
12501250
12511251Specifies whether the client can force a cache reload by including a
12521252Cache-Control "no-cache" directive in the request. Set it to ``true ``
1253- for compliance with RFC 2616. (default: false)
1253+ for compliance with RFC 2616.
12541254
12551255allow_revalidate
12561256................
@@ -1259,7 +1259,7 @@ allow_revalidate
12591259
12601260Specifies whether the client can force a cache revalidate by including a
12611261Cache-Control "max-age=0" directive in the request. Set it to ``true ``
1262- for compliance with RFC 2616. (default: false)
1262+ for compliance with RFC 2616.
12631263
12641264debug
12651265.....
@@ -1272,11 +1272,11 @@ try to carry on and deliver a meaningful response.
12721272default_ttl
12731273...........
12741274
1275- **type **: ``integer ``
1275+ **type **: ``integer `` ** default **: `` 0 ``
12761276
12771277The number of seconds that a cache entry should be considered fresh when no
12781278explicit freshness information is provided in a response. Explicit
1279- Cache-Control or Expires headers override this value. (default: 0)
1279+ Cache-Control or Expires headers override this value.
12801280
12811281enabled
12821282.......
@@ -1286,11 +1286,11 @@ enabled
12861286private_headers
12871287...............
12881288
1289- **type **: ``array ``
1289+ **type **: ``array `` ** default **: `` ['Authorization', 'Cookie'] ``
12901290
12911291Set of request headers that trigger "private" cache-control behavior on responses
12921292that don't explicitly state whether the response is public or private via a
1293- Cache-Control directive. (default: Authorization and Cookie)
1293+ Cache-Control directive.
12941294
12951295skip_response_headers
12961296.....................
@@ -1303,30 +1303,30 @@ and public.
13031303stale_if_error
13041304..............
13051305
1306- **type **: ``integer ``
1306+ **type **: ``integer `` ** default **: `` 60 ``
13071307
13081308Specifies the default number of seconds (the granularity is the second) during
1309- which the cache can serve a stale response when an error is encountered
1310- (default: 60). This setting is overridden by the stale-if-error HTTP
1309+ which the cache can serve a stale response when an error is encountered.
1310+ This setting is overridden by the stale-if-error HTTP
13111311Cache-Control extension (see RFC 5861).
13121312
13131313stale_while_revalidate
13141314......................
13151315
1316- **type **: ``integer ``
1316+ **type **: ``integer `` ** default **: `` 2 ``
13171317
13181318Specifies the default number of seconds (the granularity is the second as the
13191319Response TTL precision is a second) during which the cache can immediately return
1320- a stale response while it revalidates it in the background (default: 2) .
1320+ a stale response while it revalidates it in the background.
13211321This setting is overridden by the stale-while-revalidate HTTP Cache-Control
13221322extension (see RFC 5861).
13231323
13241324trace_header
13251325............
13261326
1327- **type **: ``string ``
1327+ **type **: ``string `` ** default **: `` 'X-Symfony-Cache' ``
13281328
1329- Header name to use for traces. (default: X-Symfony-Cache)
1329+ Header name to use for traces.
13301330
13311331trace_level
13321332...........
@@ -1335,7 +1335,7 @@ trace_level
13351335
13361336For 'short', a concise trace of the main request will be added as an HTTP header.
13371337'full' will add traces for all requests (including ESI subrequests).
1338- (default: 'full' if in debug; 'none' otherwise)
1338+ (default: `` 'full' `` if in debug; `` 'none' `` otherwise)
13391339
13401340.. _reference-http-client :
13411341
0 commit comments