Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/index.php')
-rw-r--r--js/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/index.php b/js/index.php
index 94d68e5859..dd1b66d6ba 100644
--- a/js/index.php
+++ b/js/index.php
@@ -29,6 +29,8 @@ require_once PIWIK_INCLUDE_PATH . '/core/Piwik.php';
$file = '../piwik.js';
-Piwik::serveStaticFile($file, "application/javascript; charset=UTF-8");
+// There is no cache buster parameter so we don't set Expires: header
+$expireFarFuture = false;
+Piwik::serveStaticFile($file, "application/javascript; charset=UTF-8", $expireFarFuture);
exit;