File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,8 @@ of methods to manipulate the HTTP headers related to the cache:
479
479
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setExpires `
480
480
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setMaxAge `
481
481
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setSharedMaxAge `
482
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setStaleIfError `
483
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setStaleWhileRevalidate `
482
484
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setTtl `
483
485
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setClientTtl `
484
486
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setLastModified `
@@ -506,6 +508,8 @@ call::
506
508
'proxy_revalidate' => false,
507
509
'max_age' => 600,
508
510
's_maxage' => 600,
511
+ 'stale_if_error' => 86400,
512
+ 'stale_while_revalidate' => 60,
509
513
'immutable' => true,
510
514
'last_modified' => new \DateTime(),
511
515
'etag' => 'abcdef',
You can’t perform that action at this time.
0 commit comments