@@ -1243,7 +1243,7 @@ allow_reload
12431243
12441244Specifies whether the client can force a cache reload by including a
12451245Cache-Control "no-cache" directive in the request. Set it to ``true ``
1246- for compliance with RFC 2616. (default: false)
1246+ for compliance with RFC 2616.
12471247
12481248allow_revalidate
12491249................
@@ -1252,7 +1252,7 @@ allow_revalidate
12521252
12531253Specifies whether the client can force a cache revalidate by including a
12541254Cache-Control "max-age=0" directive in the request. Set it to ``true ``
1255- for compliance with RFC 2616. (default: false)
1255+ for compliance with RFC 2616.
12561256
12571257debug
12581258.....
@@ -1265,11 +1265,11 @@ try to carry on and deliver a meaningful response.
12651265default_ttl
12661266...........
12671267
1268- **type **: ``integer ``
1268+ **type **: ``integer `` ** default **: `` 0 ``
12691269
12701270The number of seconds that a cache entry should be considered fresh when no
12711271explicit freshness information is provided in a response. Explicit
1272- Cache-Control or Expires headers override this value. (default: 0)
1272+ Cache-Control or Expires headers override this value.
12731273
12741274enabled
12751275.......
@@ -1279,11 +1279,11 @@ enabled
12791279private_headers
12801280...............
12811281
1282- **type **: ``array ``
1282+ **type **: ``array `` ** default **: `` ['Authorization', 'Cookie'] ``
12831283
12841284Set of request headers that trigger "private" cache-control behavior on responses
12851285that don't explicitly state whether the response is public or private via a
1286- Cache-Control directive. (default: Authorization and Cookie)
1286+ Cache-Control directive.
12871287
12881288skip_response_headers
12891289.....................
@@ -1296,30 +1296,30 @@ and public.
12961296stale_if_error
12971297..............
12981298
1299- **type **: ``integer ``
1299+ **type **: ``integer `` ** default **: `` 60 ``
13001300
13011301Specifies the default number of seconds (the granularity is the second) during
1302- which the cache can serve a stale response when an error is encountered
1303- (default: 60). This setting is overridden by the stale-if-error HTTP
1302+ which the cache can serve a stale response when an error is encountered.
1303+ This setting is overridden by the stale-if-error HTTP
13041304Cache-Control extension (see RFC 5861).
13051305
13061306stale_while_revalidate
13071307......................
13081308
1309- **type **: ``integer ``
1309+ **type **: ``integer `` ** default **: `` 2 ``
13101310
13111311Specifies the default number of seconds (the granularity is the second as the
13121312Response TTL precision is a second) during which the cache can immediately return
1313- a stale response while it revalidates it in the background (default: 2) .
1313+ a stale response while it revalidates it in the background.
13141314This setting is overridden by the stale-while-revalidate HTTP Cache-Control
13151315extension (see RFC 5861).
13161316
13171317trace_header
13181318............
13191319
1320- **type **: ``string ``
1320+ **type **: ``string `` ** default **: `` 'X-Symfony-Cache' ``
13211321
1322- Header name to use for traces. (default: X-Symfony-Cache)
1322+ Header name to use for traces.
13231323
13241324trace_level
13251325...........
@@ -1328,7 +1328,7 @@ trace_level
13281328
13291329For 'short', a concise trace of the main request will be added as an HTTP header.
13301330'full' will add traces for all requests (including ESI subrequests).
1331- (default: 'full' if in debug; 'none' otherwise)
1331+ (default: `` 'full' `` if in debug; `` 'none' `` otherwise)
13321332
13331333.. _reference-http-client :
13341334
0 commit comments