[Mod_gzip] Is there a test-suite which excerises gzip compression in variou servers

Stephen Pierzchala mod_gzip@lists.over.net
Sat, 20 Mar 2004 08:10:04 -0500


Yusuf:

As someone who has investigated compression and caching a great deal in 
the last two years, I have used a variety of tools:

* http://www.pierzchala.com/grabit2/ -- A tool I wrote in PHP that uses 
the cURL module to retrieve pages using a number of different 
configurations (always looking for suggestions to improve the flexibility)

* The old stand-by -- Ethereal and a browser of your choice. The latest 
release of Ethereal is very easy to use and since it is based on 
tcpdump, the skillsets are interchangeable

* Live HTTP headers extension for Firefox/Firebird/Mozilla -- shows the 
header information that you need to know.

Based on what I can see, it is pretty clear that you have the 
compression component of PHP/POSTNUKE partially enabled. Any files that 
are not in the root directory of the site are not being compressed, 
which seems really odd.

What I can see is that 
http://www.alobbs.com/modules.php?op=modload&name=cherokee&file=index 
returns as compressed, but no other potentially compressible file does.

Hope this helps!

Stephen Pierzchala



Yusuf Goolamabbas wrote:
> Not really a mod_gzip question but I would like to know if there is a
> test-suite which excerises gzip compression in various http servers.
> 
> The reason I am asking is that I am kicking the tires of Cherokee
> (http://www.alobbs.com/cherokee) and I have a test case which when
> served by Cherokee with gzip on causes misrendering in IE/Firefox.
> 
> However, when I ask for the test page via wget
> 
> wget --header="Accept-Encoding: gzip" URL -O /tmp/foo.gz
> 
> foo.gz when gunzip'ped checksums to the correct size of the original
> file.
> 
> The Cherokee author is looking into this but it's strange that wget gets
> the file correctly whereas both IE/Firefox don't. A test-suite might
> make it easier to validate various http server for their gzip serving
> 
> Regards, Yusuf

-- 
++++++++++++++++++++++++++++
+    Stephen Pierzchala    +
+  stephen@pierzchala.com  +
+    www.pierzchala.com    +
+ www.performancecorps.org +
+    www.grabperf.org      +
++++++++++++++++++++++++++++