Hi Jeremy, On Mar 26, 2009, at 4:00 AM, Jer A wrote: > I would like to use http 1.1 compression (deflate,GZip), but as this > is a cgi script, I do not want to much of a performance hit....I try > to load minimal modules I might be misunderstanding something, but can't you just tell your web server to compress the data after it has been generated by your CGI script? For instance, on Apache, you can use the mod_deflate module [1] to set up Apache to compress the response to the browser for certain media types (but only, as Tobias has pointed out, when the browsers signals its ability to interpret compressed output using the "Accept-Encoding" HTTP header).
> (please note: I do not use CGI.pm) Wiser folk than me have suggested: use CGI or die; [2] :-P cheers, Gaurav [1] More details at http://httpd.apache.org/docs/2.0/mod/mod_deflate.html I *think*, but can't be sure as the website is down. [2] http://www.perlmonks.org/?node_id=51012 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs