summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 545d7cb..8ba677c 100644
--- a/itjs.php
+++ b/itjs.php
@@ -80,7 +80,8 @@ else if (!it::match('\.html$', $file))
header("Content-Type: application/x-javascript; charset=$charset");
}
-@header("Etag: alwaysvalid"); # we have checksums in the url. client should always keep the version he downloaded along with the html
+if ($crc != "-")
+ @header("Etag: alwaysvalid"); # we have checksums in the url. client should always keep the version he downloaded along with the html
if (it::is_live() && !$_REQUEST['retry'])
{