diff options
-rw-r--r-- | itjs.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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']) { |