MasonX::Plugin::Compress - send compressed output if the client supports it
PerlAddVar MasonPlugins MasonX::Plugin::Compress # or in a handler.pl script my $ah = HTML::Mason::ApacheHandler->new( plugins => [ MasonX::Plugin::Compress-> new ], # ... );
Negotiates a preferred compression method (currently, gzip, bzip2 or deflate) with the client, compresses the response and sets appropriate headers.
Investigate what other types to compress (currently, only compresses text/*).
Catalyst::Plugin::Compress::*.
Catalyst::Plugin::Compress::*
Apache::Compress.
David Baird, <cpan@riverside-cms.co.uk>
<cpan@riverside-cms.co.uk>
Please report any bugs or feature requests to bug-masonx-plugin-compress@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MasonX-Plugin-Compress. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-masonx-plugin-compress@rt.cpan.org
Copyright 2005 David Baird, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MasonX::Plugin::Compress, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MasonX::Plugin::Compress
CPAN shell
perl -MCPAN -e shell install MasonX::Plugin::Compress
For more information on module installation, please visit the detailed CPAN module installation guide.