@@ -, +, @@
---
etc/koha-httpd.conf | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--- a/etc/koha-httpd.conf
+++ a/etc/koha-httpd.conf
@@ -157,6 +157,14 @@
ProxyPassReverse /api "unix:/var/run/koha/plack.sock|http://localhost/api"
+
+
+ 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
@@ -314,6 +322,13 @@
ProxyPassReverse /api "unix:/var/run/koha/plack.sock|http://localhost/api"
+
+ 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
--