mirror of https://github.com/MISP/misp-docker
remove post-check and pre-check - discouraged IE-only Cache directives
parent
654ac748f3
commit
7455adbfc0
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$proto = (isset($_SERVER['SERVER_PROTOCOL']))?($_SERVER['SERVER_PROTOCOL']):('HTTP/1.1');
|
$proto = (isset($_SERVER['SERVER_PROTOCOL']))?($_SERVER['SERVER_PROTOCOL']):('HTTP/1.1');
|
||||||
header($proto.' 503 Service Unavailable', true);
|
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('retry-after: 30');
|
||||||
header('refresh: 30');
|
header('refresh: 30');
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue