Skip to content

Commit 5efcea1

Browse files
committed
Merged branch '4.4'
2 parents ee822d8 + 5fab4ae commit 5efcea1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/MVC/Symfony/Controller/Content/PreviewController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ public function previewContentAction(
130130
throw $e;
131131
}
132132
}
133-
$response->headers->remove('cache-control');
134-
$response->headers->remove('expires');
133+
$response->setPrivate();
135134

136135
$this->previewHelper->restoreConfigScope();
137136
$this->previewHelper->setPreviewActive(false);

0 commit comments

Comments
 (0)