Skip to content

Commit

Permalink
Specify public
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Aug 9, 2023
1 parent 2234ddc commit 4da4320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function setCacheHeaders(int $duration = 31536000, bool $overwrite = true
$this->getHeaders()
->setDefault('Expires', sprintf('%s GMT', gmdate('D, d M Y H:i:s', time() + $duration)))
->setDefault('Pragma', 'cache')
->setDefault('Cache-Control', "max-age=$duration");
->setDefault('Cache-Control', "public, max-age=$duration");
}

return $this;
Expand Down

0 comments on commit 4da4320

Please sign in to comment.