@@ -1243,7 +1243,7 @@ allow_reload
1243
1243
1244
1244
Specifies whether the client can force a cache reload by including a
1245
1245
Cache-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.
1247
1247
1248
1248
allow_revalidate
1249
1249
................
@@ -1252,7 +1252,7 @@ allow_revalidate
1252
1252
1253
1253
Specifies whether the client can force a cache revalidate by including a
1254
1254
Cache-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.
1256
1256
1257
1257
debug
1258
1258
.....
@@ -1265,11 +1265,11 @@ try to carry on and deliver a meaningful response.
1265
1265
default_ttl
1266
1266
...........
1267
1267
1268
- **type **: ``integer ``
1268
+ **type **: ``integer `` ** default **: `` 0 ``
1269
1269
1270
1270
The number of seconds that a cache entry should be considered fresh when no
1271
1271
explicit 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.
1273
1273
1274
1274
enabled
1275
1275
.......
@@ -1279,11 +1279,11 @@ enabled
1279
1279
private_headers
1280
1280
...............
1281
1281
1282
- **type **: ``array ``
1282
+ **type **: ``array `` ** default **: `` ['Authorization', 'Cookie'] ``
1283
1283
1284
1284
Set of request headers that trigger "private" cache-control behavior on responses
1285
1285
that 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.
1287
1287
1288
1288
skip_response_headers
1289
1289
.....................
@@ -1296,30 +1296,30 @@ and public.
1296
1296
stale_if_error
1297
1297
..............
1298
1298
1299
- **type **: ``integer ``
1299
+ **type **: ``integer `` ** default **: `` 60 ``
1300
1300
1301
1301
Specifies 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
1304
1304
Cache-Control extension (see RFC 5861).
1305
1305
1306
1306
stale_while_revalidate
1307
1307
......................
1308
1308
1309
- **type **: ``integer ``
1309
+ **type **: ``integer `` ** default **: `` 2 ``
1310
1310
1311
1311
Specifies the default number of seconds (the granularity is the second as the
1312
1312
Response 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.
1314
1314
This setting is overridden by the stale-while-revalidate HTTP Cache-Control
1315
1315
extension (see RFC 5861).
1316
1316
1317
1317
trace_header
1318
1318
............
1319
1319
1320
- **type **: ``string ``
1320
+ **type **: ``string `` ** default **: `` 'X-Symfony-Cache' ``
1321
1321
1322
- Header name to use for traces. (default: X-Symfony-Cache)
1322
+ Header name to use for traces.
1323
1323
1324
1324
trace_level
1325
1325
...........
@@ -1328,7 +1328,7 @@ trace_level
1328
1328
1329
1329
For 'short', a concise trace of the main request will be added as an HTTP header.
1330
1330
'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)
1332
1332
1333
1333
.. _reference-http-client :
1334
1334
0 commit comments