diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-11 14:20:55 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-11 14:20:55 +0000 |
commit | b69146478c01e589c3016f1a238f3e3e329714ae (patch) | |
tree | 7a610c64830dce85c6e6c96d6c16c740ca057f4e /htaccess_dist | |
parent | bde2e00d6854d7e0be4b164c17a0ab992cfd7281 (diff) | |
download | elgg-b69146478c01e589c3016f1a238f3e3e329714ae.tar.gz elgg-b69146478c01e589c3016f1a238f3e3e329714ae.tar.bz2 |
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
Diffstat (limited to 'htaccess_dist')
-rw-r--r-- | htaccess_dist | 22 |
1 files 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
<IfModule mod_gzip.c>
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/.*
</IfModule>
# Apache2 deflate support if available
|