Tag Archives: apache

apache check if gzip, deflate enabled on server

curl -I -H ‘Accept-Encoding: gzip,deflate’ http://www.linuxhow.tk

HTTP/1.1 200 OK
Date: Wed, 13 Nov 2013 18:08:12 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.3.3
Expires: Wed, 06 Nov 2013 18:07:07 GMT
Last-Modified: Wed, 13 Nov 2013 18:08:12 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
X-Pingback: http://www.linuxhow.tk/xmlrpc.php
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 20
Connection: close
Content-Type: text/html; charset=UTF-8