remove post-check and pre-check - discouraged IE-only Cache directives (#205)

pull/212/head
marjatech 2025-01-12 11:54:49 +01:00 committed by GitHub
parent abec006996
commit 3d9729db86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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');
?>