From d7f49d64d3e2d808e5fb037faef53ff5a5510909 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 28 May 2009 16:19:02 -0400 Subject: [PATCH] Speedup UI by using CSS sprites and etags/expires/deflate for static files --- .htaccess | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/.htaccess b/.htaccess index 05a2ed7..98c5fec 100644 --- a/.htaccess +++ b/.htaccess @@ -28,6 +28,22 @@ 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 -- Gitblit v1.9.1