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 @@ -495,6 +495,8 @@ of methods to manipulate the HTTP headers related to the cache:
495
495
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setExpires `
496
496
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setMaxAge `
497
497
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setSharedMaxAge `
498
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setStaleIfError `
499
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setStaleWhileRevalidate `
498
500
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setTtl `
499
501
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setClientTtl `
500
502
* :method: `Symfony\\ Component\\ HttpFoundation\\ Response::setLastModified `
@@ -522,6 +524,8 @@ call::
522
524
'proxy_revalidate' => false,
523
525
'max_age' => 600,
524
526
's_maxage' => 600,
527
+ 'stale_if_error' => 86400,
528
+ 'stale_while_revalidate' => 60,
525
529
'immutable' => true,
526
530
'last_modified' => new \DateTime(),
527
531
'etag' => 'abcdef',
You can’t perform that action at this time.
0 commit comments