Bug 10411: add cache control headers for static resources (Debian package)
[koha.git] / debian / templates / apache-shared.conf
index 077bd7f..33c6633 100644 (file)
@@ -56,6 +56,13 @@ SetEnv PERL5LIB "/usr/share/koha/lib"
     </IfModule>
 </IfModule>
 
+<IfModule mod_expires.c>
+    ExpiresActive on
+    ExpiresByType text/css "access plus 12 hours"
+    ExpiresByType application/javascript "access plus 12 hours"
+    ExpiresByType image/png "access plus 12 hours"
+    ExpiresByType image/gif "access plus 12 hours"
+</IfModule>
 
 Options +FollowSymLinks