]> source.dussan.org Git - nextcloud-server.git/commitdiff
Also cache WOFF, SVG and GIF 769/head
authorLukas Reschke <lukas@statuscode.ch>
Mon, 8 Aug 2016 15:39:53 +0000 (17:39 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 8 Aug 2016 15:39:53 +0000 (17:39 +0200)
.htaccess

index bd9f5af3f707a93df10b4b08ce31e0aa30b8c83d..5b864643565b8c910231119fde1fa63669290a2a 100644 (file)
--- 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>