Originally posted by Ian Spence:
If you can write a better version of this mod, please do. I only ported this from the old version, and wouldn't be suprised if I did that poorly.
No, I can't write a better version

since the concept is the same and a little further can be done. But there are
better alternatives like CGI::WebGzip. It auto-checks the existence of Compress::Zlib and does not require any other module like "IO::String" or MD5
Also there is this one:
http://search.cpan.org/dist/CGI-Compress-Gzip but it requires IO::Zlib
There may be some other modules...