Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-08 18:39:53 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-08-08 18:39:53 +0300
commit35743c187d0ca0411ec24d564701b3da4ccd3981 (patch)
treee9e921c961776e72e3cedd03f2ef12e6e02cf9a7 /.htaccess
parent70eef2a82e1f7a08e8783af16927c21e59d71ccb (diff)
Also cache WOFF, SVG and GIF
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index bd9f5af3f70..5b864643565 100644
--- a/.htaccess
+++ b/.htaccess
@@ -20,8 +20,8 @@
SetEnv modHeadersAvailable true
</IfModule>
- # Add cache control for CSS and JS files
- <FilesMatch "\.(css|js)$">
+ # Add cache control for static resources
+ <FilesMatch "\.(css|js|woff|svg|gif)$">
Header set Cache-Control "max-age=7200, public"
</FilesMatch>
</IfModule>