From b69146478c01e589c3016f1a238f3e3e329714ae Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 11 Nov 2008 14:20:55 +0000 Subject: Minor tweaks to mod_gzip config. Note that gzip can't compress some things due to the way that the apache 1.3 stack works git-svn-id: https://code.elgg.org/elgg/trunk@2441 36083f99-b078-4883-b0ff-0f9b5a30f544 --- htaccess_dist | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/htaccess_dist b/htaccess_dist index b9da2aef0..73bf0f50a 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -57,17 +57,17 @@ ExpiresDefault "access plus 10 years" # Turn on mod_gzip if available mod_gzip_on yes - mod_gzip_dechunk yes - mod_gzip_keep_workfiles No - mod_gzip_minimum_file_size 1000 - mod_gzip_maximum_file_size 1000000 - mod_gzip_maximum_inmem_size 1000000 - mod_gzip_item_include mime ^text/.* - mod_gzip_item_include mime ^application/javascript - mod_gzip_item_include mime ^httpd/unix-directory$ - # Exclude old browsers and images since IE has trouble with this - mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\[" - mod_gzip_item_exclude mime ^image/.* + mod_gzip_dechunk yes + mod_gzip_keep_workfiles No + mod_gzip_minimum_file_size 1000 + mod_gzip_maximum_file_size 1000000 + mod_gzip_maximum_inmem_size 1000000 + mod_gzip_item_include mime ^text/.* + mod_gzip_item_include mime ^application/javascript$ + mod_gzip_item_include mime ^application/x-javascript$ + # Exclude old browsers and images since IE has trouble with this + mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\[" + mod_gzip_item_exclude mime ^image/.* # Apache2 deflate support if available -- cgit v1.2.3