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

Re: [cgiapp] CAP::Apache and CGI::Compress::Gzip


Rhesa Rozendaal wrote:
Michael wrote:
 > The uploaded file
 >
 >     CGI-Application-Plugin-Apache-0.08.tar.gz
 >
 > has entered CPAN as

I'm currently using CGI::Compress::Gzip as my query() object, which is a drop-in replacement for CGI that adds on-the-fly gzip compression to my apps. I really like it, since I only have to add it once to my base CgiApp class, and it works everywhere, both under mod_perl and regular CGI.

I have yet to find an apache solution that is as easy and config-free as this one, but obviously it would mean that using CAP::Apache becomes pretty much a no-op, since you would have to fall back to CGI, right?

Have you looked at Apache::Dynagzip? Seems pretty straight forward to me, but I haven't looked at it. Or maybe even mod_gzip for a straight c implementation.

And yes, it wouldn't make sense to use CAP::Apache and CGI::Compress::Gzip together. You might consider writing a plugin to use C::C::G as the query object if you want. I can't think of what this might do except set some defaults and change the query object, but hey, CAP::Config::Simple is just as simple.

--
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
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.