diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-10-14 10:41:10 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-10-14 10:41:10 +0200 |
commit | 766314a6be5a24a4bd7d503d9c44998c13fe348b (patch) | |
tree | 05e51621ee51c4fc74ac96a3478c398b108b6c65 | |
parent | c2cfeea8889472bb06e0f64f235907165a5d5b6b (diff) | |
parent | 4b5c7d3d9d783e2b905659e581474b270b3c4796 (diff) | |
download | nextcloud-server-766314a6be5a24a4bd7d503d9c44998c13fe348b.tar.gz nextcloud-server-766314a6be5a24a4bd7d503d9c44998c13fe348b.zip |
Merge pull request #11556 from owncloud/cache-js-and-css
adding cache control headers for css and js - fixes #11496
-rw-r--r-- | .htaccess | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess index ee4d5af1d85..e45810d0a05 100644 --- a/.htaccess +++ b/.htaccess @@ -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> |