ANNOUNCE: Apache::Compress 1.002 (new moduule)
Aug 22, 2000, 13 :47 UTC (1 Talkback[s]) (1073 reads) |
Hi all,
The URL
http://forum.swarthmore.edu/~ken/modules/archive/Apache-Compress-1.002.tar.gz
has entered CPAN as
file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-Compress-1.002.tar.gz
size: 10708 bytes
md5: 7fef7de82d46083a1b0f2ea1492d2faf
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.
-----------------------------------------------------------
NAME
Apache::Compress - Auto-compress web files with Gzip
SYNOPSIS
PerlModule Apache::Compress
# Compress regular files
PerlHandler Apache::Compress
# Compress output of Perl scripts
PerlModule Apache::Filter
PerlSetVar Filter on
PerlHandler Apache::RegistryFilter Apache::Compress
DESCRIPTION
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
noncompressed data.
This module is compatibile with Apache::Filter, so you can compress the
output of other content-generators.
TO DO
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.
AUTHOR
Ken Williams, ken@forum.swarthmore.edu
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
Philippe Chiasson.
SEE ALSO
perl(1), mod_perl(1), Apache::Filter(3)
|
|