diff --git a/js/index.php b/js/index.php index 6b0335349237d857d08e70f0d130151eb176934c..5cf84667ac271b3ed830c10941adf4be526fcdc8 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;