From 7c1fa66ca367678c28acd7a20ba91f3b139d2e4f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Nov 2014 08:04:06 +0000 Subject: [PATCH] Bug 12904 [Followup] - Increase JS Cache Timeout With the addition of a method for explicetly forcing a cache refresh, we should make the sue of much large cache times for such files. This patch increases the ache time for javascript files from 12 hours to 60 days. --- debian/templates/apache-shared.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/templates/apache-shared.conf b/debian/templates/apache-shared.conf index 9ee3b0f..67df419 100644 --- a/debian/templates/apache-shared.conf +++ b/debian/templates/apache-shared.conf @@ -59,7 +59,7 @@ SetEnv PERL5LIB "/usr/share/koha/lib" ExpiresActive on ExpiresByType text/css "access plus 12 hours" - ExpiresByType application/javascript "access plus 12 hours" + ExpiresByType application/javascript "access plus 60 days" ExpiresByType image/png "access plus 12 hours" ExpiresByType image/gif "access plus 12 hours" -- 1.7.10.4