Merge pull request #769 from nextcloud/also-cache-fonts-svg-and-gif

Also cache WOFF, SVG and GIF
This commit is contained in:
Lukas Reschke 2016-08-08 18:41:33 +02:00 committed by GitHub
commit 679185028f
1 changed files with 2 additions and 2 deletions

View File

@ -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>