Merge pull request #11556 from owncloud/cache-js-and-css

adding cache control headers for css and js - fixes #11496
This commit is contained in:
Jörn Friedrich Dreyer 2014-10-14 10:41:10 +02:00
commit 766314a6be
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>