diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-11 14:03:27 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-11 14:03:27 +0000 |
commit | bde2e00d6854d7e0be4b164c17a0ab992cfd7281 (patch) | |
tree | 98ae70dac31ef406c9a6376a6e40cc91cbea9884 | |
parent | d559f6791e2bbc1e3514ae7db05f5ce787cec79f (diff) | |
download | elgg-bde2e00d6854d7e0be4b164c17a0ab992cfd7281.tar.gz elgg-bde2e00d6854d7e0be4b164c17a0ab992cfd7281.tar.bz2 |
Simplified GZIP
git-svn-id: https://code.elgg.org/elgg/trunk@2440 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | htaccess_dist | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/htaccess_dist b/htaccess_dist index cc4697082..b9da2aef0 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -59,21 +59,15 @@ ExpiresDefault "access plus 10 years" mod_gzip_on yes
mod_gzip_dechunk yes
mod_gzip_keep_workfiles No
- mod_gzip_temp_dir /tmp
mod_gzip_minimum_file_size 1000
mod_gzip_maximum_file_size 1000000
mod_gzip_maximum_inmem_size 1000000
- mod_gzip_item_include file \.htm$
- mod_gzip_item_include file \.html$
- mod_gzip_item_include file \.php$
mod_gzip_item_include mime ^text/.*
- mod_gzip_item_include mime ^application/x-httpd-php
+ mod_gzip_item_include mime ^application/javascript
mod_gzip_item_include mime ^httpd/unix-directory$
- mod_gzip_item_exclude file "\.css$"
- mod_gzip_item_exclude file "\.js$"
- mod_gzip_item_exclude file "\.wml$"
+ # 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/.gif
+ mod_gzip_item_exclude mime ^image/.*
</IfModule>
# Apache2 deflate support if available
|