diff options
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,9 +69,9 @@ else if (!it::match('\.html$', $file)) @header("Etag: $checksum"); -if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH']) +if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'] || $_REQUEST['retry']) { - if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT']) && it::is_live()) + if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT']) && it::is_live() && !$_REQUEST['retry']) header("Cache-Control: max-age=900"); $data = itjs::strip($data); |