aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-08 18:41:33 +0200
committerGitHub <noreply@github.com>2016-08-08 18:41:33 +0200
commit679185028fea894fd4fe2183859610aa32228ae4 (patch)
tree5a8e99c94942f6f33a65cb08d4eee60ae9afcc3e
parent97c8232b9f87146e0d7cf9da8696979489329eca (diff)
parent35743c187d0ca0411ec24d564701b3da4ccd3981 (diff)
downloadnextcloud-server-679185028fea894fd4fe2183859610aa32228ae4.tar.gz
nextcloud-server-679185028fea894fd4fe2183859610aa32228ae4.zip
Merge pull request #769 from nextcloud/also-cache-fonts-svg-and-gif
Also cache WOFF, SVG and GIF
-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>