libcgi-compress-gzip-perl

Module to allow automatically compressed cgi output
  https://metacpan.org/release/CGI-Compress-Gzip
  0
  no reviews



Cgi::compress::gzip extends the cgi module to auto-detect whether the client browser wants compressed output and, if so and if the script chooses html output, apply gzip compression on any content header for stdout. cgi::compress::gzip is intended to be a drop-in replacement for cgi.pm.

apache mod_perl users may wish to consider the apache::compress or apache::gzipchain modules, which allow more transparent output compression than this module can provide. however, as of this writing those modules are more aggressive about compressing, regardless of content-type.