gzip/zip apache

WWW
включаем. по умолчанию сжатие уже встроенное в apache2
создать файл

cat /usr/local/etc/apache22/Includes/gzip-output.conf
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html


проверка
cat gzip-test.sh
wget -S --spider http://a1.ru/1.txt -o /dev/stdout | grep -i content
echo
wget -S --spider http://a1.ru/1.txt --header "Accept-Encoding: gzip,deflate" -o /dev/stdout | grep -i content


вывод

  Content-Type: text/plain
  Content-Length: 143881

  Content-Type: text/plain
  Content-Encoding: gzip
  Content-Length: 13602


так же можно проверить тут
http://www.gidnetwork.com/tools/gzip-test.php


или любой другой известный вам сервис