8000 Remove unneccessary "Expires" header from merged ESI responses · symfony/symfony@bf88c19 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf88c19

Browse files
committed
Remove unneccessary "Expires" header from merged ESI responses
1 parent 8ca2245 commit bf88c19

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategy.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ public function update(Response $response)
110110
$response->headers->set('Age', $this->age);
111111

112112
if ($this->isNotCacheableResponseEmbedded) {
113-
$response->setExpires($response->getDate());
114-
115113
if ($this->flagDirectives['no-store']) {
116114
$response->headers->set('Cache-Control', 'no-cache, no-store, must-revalidate');
117115
} else {

0 commit comments

Comments
 (0)
0