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

View file

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