summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 32267da..0239989 100644
--- a/itjs.php
+++ b/itjs.php
@@ -67,7 +67,7 @@ else if (!it::match('\.html$', $file))
@header("Etag: alwaysvalid"); # we have checksums in the url. client should always keep the version he downloaded along with the html
-if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT']) && it::is_live() && !$_REQUEST['retry'])
+if (it::is_live() && !$_REQUEST['retry'])
{
$keeptime = $_REQUEST['s'] || $_REQUEST['c'] ? 86400*30 : 900; # long expire if checksum present
header("Cache-Control: max-age=$keeptime, private"); # proxies should not cache since contents of same url can differ between browsers