File tree
Expand file treeCollapse file tree1 file changed
+3
-0
lines changed Expand file treeCollapse file tree1 file changed
+3
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -647,6 +647,9 @@ exposing a simple and efficient pattern::
|
647 | 647 | $response = new Response();
|
648 | 648 | $response->setETag($article->computeETag());
|
649 | 649 | $response->setLastModified($article->getPublishedAt());
|
| 650 | +
|
| 651 | +// Set response as public. Otherwise it will be private by default. |
| 652 | +$response->setPublic(); |
650 | 653 |
|
651 | 654 | // Check that the Response is not modified for the given Request
|
652 | 655 | if ($response->isNotModified($this->getRequest())) {
|
|
You can’t perform that action at this time.
0 commit comments