Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-10-14 08:36:53 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-14 08:36:53 +0400
commit4b5c7d3d9d783e2b905659e581474b270b3c4796 (patch)
tree9c268adf7303d129a473ce61d7d66fd930b6d0fb /.htaccess
parentbaffe5353f3fd57fd9ecb353ae81bf3164896f6f (diff)
adding cache control headers for css and js - fixes #11496
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
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>