@@ -1250,7 +1250,7 @@ allow_reload
1250
1250
1251
1251
Specifies whether the client can force a cache reload by including a
1252
1252
Cache-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.
1254
1254
1255
1255
allow_revalidate
1256
1256
................
@@ -1259,7 +1259,7 @@ allow_revalidate
1259
1259
1260
1260
Specifies whether the client can force a cache revalidate by including a
1261
1261
Cache-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.
1263
1263
1264
1264
debug
1265
1265
.....
@@ -1272,11 +1272,11 @@ try to carry on and deliver a meaningful response.
1272
1272
default_ttl
1273
1273
...........
1274
1274
1275
- **type **: ``integer ``
1275
+ **type **: ``integer `` ** default **: `` 0 ``
1276
1276
1277
1277
The number of seconds that a cache entry should be considered fresh when no
1278
1278
explicit 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.
1280
1280
1281
1281
enabled
1282
1282
.......
@@ -1286,11 +1286,11 @@ enabled
1286
1286
private_headers
1287
1287
...............
1288
1288
1289
- **type **: ``array ``
1289
+ **type **: ``array `` ** default **: `` ['Authorization', 'Cookie'] ``
1290
1290
1291
1291
Set of request headers that trigger "private" cache-control behavior on responses
1292
1292
that 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.
1294
1294
1295
1295
skip_response_headers
1296
1296
.....................
@@ -1303,30 +1303,30 @@ and public.
1303
1303
stale_if_error
1304
1304
..............
1305
1305
1306
- **type **: ``integer ``
1306
+ **type **: ``integer `` ** default **: `` 60 ``
1307
1307
1308
1308
Specifies 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
1311
1311
Cache-Control extension (see RFC 5861).
1312
1312
1313
1313
stale_while_revalidate
1314
1314
......................
1315
1315
1316
- **type **: ``integer ``
1316
+ **type **: ``integer `` ** default **: `` 2 ``
1317
1317
1318
1318
Specifies the default number of seconds (the granularity is the second as the
1319
1319
Response 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.
1321
1321
This setting is overridden by the stale-while-revalidate HTTP Cache-Control
1322
1322
extension (see RFC 5861).
1323
1323
1324
1324
trace_header
1325
1325
............
1326
1326
1327
- **type **: ``string ``
1327
+ **type **: ``string `` ** default **: `` 'X-Symfony-Cache' ``
1328
1328
1329
- Header name to use for traces. (default: X-Symfony-Cache)
1329
+ Header name to use for traces.
1330
1330
1331
1331
trace_level
1332
1332
...........
@@ -1335,7 +1335,7 @@ trace_level
1335
1335
1336
1336
For 'short', a concise trace of the main request will be added as an HTTP header.
1337
1337
'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)
1339
1339
1340
1340
.. _reference-http-client :
1341
1341
0 commit comments