diff options
author | thomascube <thomas@roundcube.net> | 2009-05-28 20:19:02 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-05-28 20:19:02 +0000 |
commit | d7f49d64d3e2d808e5fb037faef53ff5a5510909 (patch) | |
tree | 25976f371414abe25635e8be7f9290a46ec6f79e /.htaccess | |
parent | fc1102509fe4b2a47217c82341dfa7edc5e38fed (diff) |
Speedup UI by using CSS sprites and etags/expires/deflate for static files
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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 |