Apache-GzipChain
view release on metacpan or search on metacpan
</Files>
DESCRIPTION
This module compresses any output from another perl handler if the
browser requesting the document understands gzip encoding or if the
config variable ForceGzip is set. To determine if the browser is able to
understand us we check its *Accept-Encoding* header.
The module works without influencing the other handlers in the chain.
The only thing that can be noticed by other handlers is that the
response header 'Content-Encoding' has been set. If GzipChain decides
not to do any compression, it just declines and doesn't even register
itself for the output chain.
GzipChain compresses every single buffer content it receives via the
output chain separately according to the GZIP specification (RFC 1952).
The compression ratio therefore suffers if the other module sends its
data in very small chunks. It is recommended that you use as few print
statements as possible in conjunction with the GzipChain. One single
print statement is recommended.
lib/Apache/GzipChain.pm view on Meta::CPAN
=head1 DESCRIPTION
This module compresses any output from another perl handler if the
browser requesting the document understands gzip encoding or if the
config variable ForceGzip is set. To determine if the browser is able
to understand us we check its I<Accept-Encoding> header.
The module works without influencing the other handlers in the chain.
The only thing that can be noticed by other handlers is that the
response header 'Content-Encoding' has been set. If GzipChain decides
not to do any compression, it just declines and doesn't even register
itself for the output chain.
GzipChain compresses every single buffer content it receives via the
output chain separately according to the GZIP specification (RFC
1952). The compression ratio therefore suffers if the other module
sends its data in very small chunks. It is recommended that you use as
few print statements as possible in conjunction with the GzipChain.
One single print statement is recommended.
( run in 0.383 second using v1.01-cache-2.11-cpan-de7293f3b23 )