aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/httpd-vhost.conf-example12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/httpd-vhost.conf-example b/config/httpd-vhost.conf-example
index 98a7b6b48..c02c4d292 100644
--- a/config/httpd-vhost.conf-example
+++ b/config/httpd-vhost.conf-example
@@ -112,6 +112,12 @@
</IfModule>
</Location>
+ # Cache assets
+ ExpiresActive On
+ <LocationMatch "^/(assets).*\.(ico|gif|jpe?g|png|js|css|svg|ttf|otf|eot|woff)$">
+ ExpiresDefault "access plus 1 day"
+ </LocationMatch>
+
# Compress font resources
<IfModule mod_deflate.c>
<IfModule mod_mime.c>
@@ -124,12 +130,6 @@
AddOutputFilterByType DEFLATE image/svg+xml
</IfModule>
- # Cache assets
- ExpiresActive On
- <LocationMatch "^/(assets).*\.(ico|gif|jpe?g|png|js|css|svg|ttf|otf|eot|woff)$">
- ExpiresDefault "access plus 1 day"
- </LocationMatch>
-
# Include optional configuration
Include vhost.d/alaveteli