MasonX::Plugin::Compress - send compressed output if the client supports it


MasonX-Plugin-Compress documentation  | view source Contained in the MasonX-Plugin-Compress distribution.

Index


NAME

Top

MasonX::Plugin::Compress - send compressed output if the client supports it

SYNOPSIS

Top

    PerlAddVar MasonPlugins MasonX::Plugin::Compress

    # or in a handler.pl script
    my $ah = HTML::Mason::ApacheHandler->new( plugins => [ MasonX::Plugin::Compress-> new ],
                                              # ...
                                              );

DESCRIPTION

Top

Negotiates a preferred compression method (currently, gzip, bzip2 or deflate) with the client, compresses the response and sets appropriate headers.

Methods

end_request_hook

TODO

Top

Investigate what other types to compress (currently, only compresses text/*).

SEE ALSO

Top

Catalyst::Plugin::Compress::*.

Apache::Compress.

AUTHOR

Top

David Baird, <cpan@riverside-cms.co.uk>

BUGS

Top

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.

COPYRIGHT & LICENSE

Top


MasonX-Plugin-Compress documentation  | view source Contained in the MasonX-Plugin-Compress distribution.