summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-28 20:19:02 +0000
committerthomascube <thomas@roundcube.net>2009-05-28 20:19:02 +0000
commitd7f49d64d3e2d808e5fb037faef53ff5a5510909 (patch)
tree25976f371414abe25635e8be7f9290a46ec6f79e /.htaccess
parentfc1102509fe4b2a47217c82341dfa7edc5e38fed (diff)
Speedup UI by using CSS sprites and etags/expires/deflate for static files
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess18
1 files changed, 17 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 05a2ed7c2..98c5fecaf 100644
--- a/.htaccess
+++ b/.htaccess
@@ -28,6 +28,22 @@ php_value mbstring.func_overload 0
RewriteEngine On
RewriteRule ^favicon.ico$ skins/default/images/favicon.ico
</IfModule>
-
+
+<IfModule mod_deflate.c>
+SetOutputFilter DEFLATE
+</IfModule>
+
+<IfModule mod_headers.c>
+# replace 'append' with 'merge' for Apache version 2.2.9 and later
+Header append Cache-Control public env=!NO_CACHE
+</IfModule>
+
+<IfModule mod_expires.c>
+ExpiresActive On
+ExpiresDefault "access plus 1 month"
+</IfModule>
+
+FileETag MTime
+
Order deny,allow
Allow from all