|ANNOUNCE: Apache::Compress 1.002 (new moduule)
Aug 22, 2000, 13 :47 UTC (1 Talkback[s]) (1073 reads)
has entered CPAN as
size: 10708 bytes
Here's the documentation. I'd appreciate any feedback from people who
use the module, if only to tell me that it works or doesn't work.
Apache::Compress - Auto-compress web files with Gzip
# Compress regular files
# Compress output of Perl scripts
PerlSetVar Filter on
PerlHandler Apache::RegistryFilter Apache::Compress
This module lets you send the content of an HTTP response as gzip-
compressed data. Certain browsers (Netscape, IE) can request content
compression via the `Content-Encoding' header. This can speed things up
if you're sending large files to your users through slow connections.
Browsers that don't request gzipped data will receive regular
This module is compatibile with Apache::Filter, so you can compress the
output of other content-generators.
Compress::Zlib provides a facility for buffering output until there's
enough data for efficient compression. Currently we don't take advantage
of this facility, we simply compress the whole content body at once. We
could achieve better memory usage if we changed this (at a small cost to
the compression ratio). See Eagle book, p.185.
Ken Williams, firstname.lastname@example.org
Partially based on the work of several modules, like Doug MacEachern's
Apache::Gzip (in the Eagle book but not on CPAN), Andreas Koenig's
Apache::GzipChain, and an unreleased module by Geoffrey Young and
perl(1), mod_perl(1), Apache::Filter(3)