From 303f1f4ef73e91d9785dd260a16ff7272e1739ae Mon Sep 17 00:00:00 2001 From: conradverm Date: Tue, 23 Oct 2007 10:28:47 +0000 Subject: [PATCH] KTS-2566 "HTTPS performance tuning added to .htaccess" Updated. Added configuration for caching... --- .htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/.htaccess b/.htaccess index 769bc63..0457d12 100644 --- a/.htaccess +++ b/.htaccess @@ -60,6 +60,16 @@ Options +ExecCGI Options +SymLinksIfOwnerMatch #AcceptPathInfo On +AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript application/x-javascript text/css +ExpiresByType text/html "access plus 1 day" +ExpiresByType text/css "access plus 1 day" +ExpiresByType text/javascript "access plus 7 days" +ExpiresByType application/x-javascript "access plus 7 days" +ExpiresByType image/gif "access plus 1 month" +ExpiresByType image/jpg "access plus 1 month" +ExpiresByType image/png "access plus 1 month" +ExpiresByType image/x-icon "access plus 1 month" + # # If you are having uploading larger documents, adjust the 16M examples # below to increase the maximum file size. This is set to a reasonable -- libgit2 0.21.4