Chris Dolan wrote:
I'm writing a module which subclasses CGI.pm and automatically gzips output if the browser has "Accept-Encoding: gzip" set and the script emits a text/html mimetype. To be as drop-in as possible, it uses select() to make the gzip filter the primary output channel, and changes it back when the CGI object is destroyed. It's relies on IO::Zlib to do the heavy lifting.

Questions:
1) I was unable to find anything similar in CPAN. Does anybody know if I'm duplicating
existing effort (other than mod_gzip for Apache of course)?
You are. Check these modules at least:

Apache::Compress
Apache::GzipChain

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to