Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
766314a6
Commit
766314a6
authored
Oct 14, 2014
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
.htaccess
View file @
766314a6
...
...
@@ -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
>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment