[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] ANNOUNCE: CGI::Application::Plugin::CompressGzip 0.01


Hi all,

I've just uploaded ::Plugin::CompressGzip to CPAN. It should be available at http://search.cpan.org/dist/CGI-Application-Plugin-CompressGzip/ soon.

I've been using CGI::Compress::Gzip for a long time now, both in regular CGI and under mod_perl (version 1 _and_ 2). This is a nice and clean wrapper for it, and suitable for public release.

Here's my rationale for PAUSE:

    Why this module? Because it adds gzip compression to the output
    stream with a simple "use CGI::Application::Plugin::CompressGzip".

    This can be plugged in into existing CgiApp applications, and works
    straightaway. It helps save bandwidth, which benefits both the
    server and the clients, and IMHO that's a good thing.

And here's the top of the readme:

CGI-Application-Plugin-CompressGzip version 0.01
================================================

NAME
    CGI::Application::Plugin::CompressGzip - Add gzip compression to CGI::Application

WARNING
    This is the initial release. I've not added any support for options or configuration,
    because CGI::Compress::Gzip works for me out of the box.

SYNOPSIS
    use CGI::Application::Plugin::CompressGzip;

    my $query = $self->query;

DESCRIPTION
    This plugin automatically enables gzip compression in your CGI::Application program.
    You "use" it once in your base class, and the rest is transparent.

    It does its work by overriding cgiapp_get_query, which returns a new
    CGI::Compress::Gzip object instead of the default CGI object.


Rhesa

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.