Test if mod_gzip/mod_deflate is enabled from whatsmyip.org
While working on a project on mod_deflate, I have stumbled across this great link that allows you to test remotely any server if it has enabled compression (mod_gzip/mod_deflate) and also see some statistics on the bandwidth saved on the particular URL tested (this is achieved by making one request without gzip enabled and another one with gzip enabled).
I found it very handy while testing various things…
http://www.whatsmyip.org/http_compression/
http://www.ducea.com is gzipped
Original Size: 43 K
Gzipped Size: 10 K
Data Savings: 76.74%>
Tags: apache, bandwidth, links, web_server
Related Posts:
12 Responses to “Test if mod_gzip/mod_deflate is enabled from whatsmyip.org”
Leave a Reply
« Prev: Debian Tools: apt-show-versions
Next: Install Fantastico on CPanel/WHM »

15th March 2007, 10:43
Thanks for this, configuring Apache to get either mod_deflate or mod_gzip working looks tricky but this confirmation of whether I have got it working or not will help a little, thanks for posting this
9th April 2007, 20:44
This is great because even if you have mod_deflate loaded, the test page will still report “not gzipped” if you don’t tell apache which file types to deflate.
22nd August 2007, 07:40
check mod_deflate
6th August 2008, 07:26
i tried to verify the output compression thru this easily. before i used telnet and it was boring.
9th March 2009, 18:05
I have a cgi script, that the link does not work on. Any reason?
9th March 2009, 18:11
Nevermind, it’s because it wasn’t following the redirect.
31st March 2009, 22:00
If you have an internal page or a page that you cannot test on this, install firebug in firefox and enable the Net console in it. (Right click a page and click Inspect Element once you have Firebug installed to activate it.)
30th September 2009, 18:52
This is a very helpful link for checking gzip compression, thanks!
8th January 2010, 22:26
curl could accomplish the same thing
curl http://example.com -H “Accept-Encoding: gzip,deflate”
http://dev.nuclearrooster.com/2009/11/08/checking-gzipdeflate-server-responses-with-curl/
18th February 2010, 13:14
Awesome! I found this on google while trying to learn how to test if a page is served compressed.
28th October 2010, 23:55
Thanks, i test with your link provide and found my site is compressed.
12th May 2011, 13:15
Thanks for the link. I have php installed as Cgi. So I could not use apache_get_modules() on it as it does not work with cgi php to know about mod_deflate. Your resource come handy here.