@@ -86,32 +86,32 @@ trace_level
86
86
87
87
For 'short', a concise trace of the main request will be added as an HTTP header.
88
88
'full' will add traces for all requests (including ESI subrequests).
89
- (default: 'full' if in debug; 'none' otherwise)
89
+ (default: `` 'full' `` if in debug; `` 'none' `` otherwise)
90
90
91
91
trace_header
92
92
............
93
93
94
- **type **: ``string ``
94
+ **type **: ``string `` ** default **: `` 'X-Symfony-Cache' ``
95
95
96
- Header name to use for traces. (default: X-Symfony-Cache)
96
+ Header name to use for traces.
97
97
98
98
default_ttl
99
99
...........
100
100
101
- **type **: ``integer ``
101
+ **type **: ``integer `` ** default **: `` 0 ``
102
102
103
103
The number of seconds that a cache entry should be considered fresh when no
104
104
explicit freshness information is provided in a response. Explicit
105
- Cache-Control or Expires headers override this value. (default: 0)
105
+ Cache-Control or Expires headers override this value.
106
106
107
107
private_headers
108
108
...............
109
109
110
- **type **: ``array ``
110
+ **type **: ``array `` ** default **: `` ['Authorization', 'Cookie'] ``
111
111
112
112
Set of request headers that trigger "private" cache-control behavior on responses
113
113
that don't explicitly state whether the response is public or private via a
114
- Cache-Control directive. (default: Authorization and Cookie)
114
+ Cache-Control directive.
115
115
116
116
skip_response_headers
117
117
.....................
@@ -132,7 +132,7 @@ allow_reload
132
132
133
133
Specifies whether the client can force a cache reload by including a
134
134
Cache-Control "no-cache" directive in the request. Set it to ``true ``
135
- for compliance with RFC 2616. (default: false)
135
+ for compliance with RFC 2616.
136
136
137
137
allow_revalidate
138
138
................
@@ -141,27 +141,27 @@ allow_revalidate
141
141
142
142
Specifies whether the client can force a cache revalidate by including a
143
143
Cache-Control "max-age=0" directive in the request. Set it to ``true ``
144
- for compliance with RFC 2616. (default: false)
144
+ for compliance with RFC 2616.
145
145
146
146
stale_while_revalidate
147
147
......................
148
148
149
- **type **: ``integer ``
149
+ **type **: ``integer `` ** default **: `` 2 ``
150
150
151
151
Specifies the default number of seconds (the granularity is the second as the
152
152
Response TTL precision is a second) during which the cache can immediately return
153
- a stale response while it revalidates it in the background (default: 2) .
153
+ a stale response while it revalidates it in the background.
154
154
This setting is overridden by the stale-while-revalidate HTTP Cache-Control
155
155
extension (see RFC 5861).
156
156
157
157
stale_if_error
158
158
..............
159
159
160
- **type **: ``integer ``
160
+ **type **: ``integer `` ** default **: `` 60 ``
161
161
162
162
Specifies the default number of seconds (the granularity is the second) during
163
- which the cache can serve a stale response when an error is encountered
164
- (default: 60). This setting is overridden by the stale-if-error HTTP
163
+ which the cache can serve a stale response when an error is encountered.
164
+ This setting is overridden by the stale-if-error HTTP
165
165
Cache-Control extension (see RFC 5861).
166
166
167
167
terminate_on_cache_hit
0 commit comments