Hi Bruce, Bruce McKenzie <suppressed> wrote:
Hi -- I've been enjoying the speed increase for cgi::app applications achieved by CGI::Application::Plugin::CompressGzip. I use CGI::App to generate static web pages with Template Toolkit. Is there a way that's as easy as CompressGZip to get the same kind of performance boost for static HTML pages? I could probably hack something together with Zlib -- but I'd much rather use a plugin or module written by someone else :-)
A friend of mine put together a script and a mod_rewrite rule that would copy and gzip static files on the fly (saving them in an "alternate document root" to cache them) and deliver the compressed versions of the pages from the cache, only until the original file is modified.
He did it to lower his bandwidth costs on a high-traffic, realtively static site several years ago, posted it our web host's support forum, and several others started using it and fixing the bugs. If you'd like i can dig it up, and ask if folks are still using (and maintaining) the solution...
-dave
---------------------------------------------------------------------
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.