@@ -, +, @@
---
etc/koha-httpd.conf | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
--- a/etc/koha-httpd.conf
+++ a/etc/koha-httpd.conf
@@ -129,6 +129,14 @@
RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L]
+
+
+ ExpiresActive on
+ ExpiresByType text/css "access plus 60 days"
+ ExpiresByType application/javascript "access plus 60 days"
+ ExpiresByType image/png "access plus 12 hours"
+ ExpiresByType image/gif "access plus 12 hours"
+
## Intranet
@@ -247,6 +255,14 @@
RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L]
+
+
+ ExpiresActive on
+ ExpiresByType text/css "access plus 60 days"
+ ExpiresByType application/javascript "access plus 60 days"
+ ExpiresByType image/png "access plus 12 hours"
+ ExpiresByType image/gif "access plus 12 hours"
+
# Uncomment this VirtualHost to enable API access through
--