Skip to content

Commit

Permalink
Also cache WOFF, SVG and GIF
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke committed Aug 8, 2016
1 parent 70eef2a commit 35743c1
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 35743c1

Please sign in to comment.