gzip/zip apache
	
	
			включаем. по умолчанию сжатие уже встроенное в 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или любой другой известный вам сервис