Skip to content

Commit

Permalink
remove post-check and pre-check - discouraged IE-only Cache directives (
Browse files Browse the repository at this point in the history
  • Loading branch information
marjatech authored Jan 12, 2025
1 parent abec006 commit 3d9729d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/files/var/www/html/index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
$proto = (isset($_SERVER['SERVER_PROTOCOL']))?($_SERVER['SERVER_PROTOCOL']):('HTTP/1.1');
header($proto.' 503 Service Unavailable', true);
header('cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
header('cache-control: no-store, no-cache, must-revalidate');
header('retry-after: 30');
header('refresh: 30');
?>
Expand Down

0 comments on commit 3d9729d

Please sign in to comment.