diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-05-06 01:23:12 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-05-06 01:23:12 +0400 |
commit | 0f0d9549d1cc2f324ef4029c3cd8f32b68b5d662 (patch) | |
tree | 16688cc1dbc0c58f52d91e645aac4ebc301ca90a /js/index.php | |
parent | 4c66a3c8edc0699ccd30a72f367cf035c5412108 (diff) |
Fixes #2406
git-svn-id: http://dev.piwik.org/svn/trunk@4642 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'js/index.php')
-rw-r--r-- | js/index.php | 4 |
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; |