adding cache control headers for css and js - fixes #11496

This commit is contained in:
Thomas Müller 2014-10-14 06:36:53 +02:00
parent baffe5353f
commit 4b5c7d3d9d
1 changed files with 5 additions and 0 deletions

View File

@ -38,3 +38,8 @@ Options -Indexes
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
<IfModule mod_headers.c>
<FilesMatch ".(css|js)$">
Header set Cache-Control "max-age=7200, public"
</FilesMatch>
</IfModule>