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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/index.php b/js/index.php
index 6b03353492..5cf84667ac 100644
--- a/js/index.php
+++ b/js/index.php
@@ -29,8 +29,9 @@ require_once PIWIK_INCLUDE_PATH . '/core/Loader.php';
$file = '../piwik.js';
-// There is no cache buster parameter so we don't set Expires: header
+
$daysExpireFarFuture = 10;
+
ProxyHttp::serverStaticFile($file, "application/javascript; charset=UTF-8", $daysExpireFarFuture);
exit;