File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -495,6 +495,8 @@ of methods to manipulate the HTTP headers related to the cache:
495495* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setExpires `
496496* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setMaxAge `
497497* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setSharedMaxAge `
498+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setStaleIfError `
499+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setStaleWhileRevalidate `
498500* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setTtl `
499501* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setClientTtl `
500502* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setLastModified `
@@ -522,6 +524,8 @@ call::
522524 'proxy_revalidate' => false,
523525 'max_age' => 600,
524526 's_maxage' => 600,
527+ 'stale_if_error' => 86400,
528+ 'stale_while_revalidate' => 60,
525529 'immutable' => true,
526530 'last_modified' => new \DateTime(),
527531 'etag' => 'abcdef',
You can’t perform that action at this time.
0 commit comments