Skip to content

Commit

Permalink
Merge pull request #769 from nextcloud/also-cache-fonts-svg-and-gif
Browse files Browse the repository at this point in the history
Also cache WOFF, SVG and GIF
  • Loading branch information
LukasReschke committed Aug 8, 2016
2 parents 97c8232 + 35743c1 commit 6791850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6791850

Please sign in to comment.