Also cache WOFF, SVG and GIF
This commit is contained in:
parent
70eef2a82e
commit
35743c187d
|
@ -20,8 +20,8 @@
|
||||||
SetEnv modHeadersAvailable true
|
SetEnv modHeadersAvailable true
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# Add cache control for CSS and JS files
|
# Add cache control for static resources
|
||||||
<FilesMatch "\.(css|js)$">
|
<FilesMatch "\.(css|js|woff|svg|gif)$">
|
||||||
Header set Cache-Control "max-age=7200, public"
|
Header set Cache-Control "max-age=7200, public"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue