We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9901c2c + 46c080a commit f95b423Copy full SHA for f95b423
1 file changed
src/Route/Infrastructure/Middleware/WordPressHeaders.php
@@ -53,6 +53,8 @@ public function handle(Request $request, Closure $next): SymfonyResponse
53
}
54
55
if ($this->shouldSetPublicCache()) {
56
+ header_remove('Cache-Control');
57
+ $response->headers->remove('Cache-Control');
58
$response->setPublic();
59
$response->headers->addCacheControlDirective('must-revalidate', true);
60
$response->headers->addCacheControlDirective('max-age', '3600');
0 commit comments