Skip to content
Snippets Groups Projects
Commit 766314a6 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

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

adding cache control headers for css and js - fixes #11496
parents c2cfeea8 4b5c7d3d
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment