If you are thinking of using this to implement Content-Encoding: gzip for a webserver be aware that some older browsers (as recent as MSIE6 without SP1) do weird things like choke on
CSS and Javascript sent with gzip or cache even when you send Cache-Control: no-cache or just plain choke on the transfer. (This is more of an
HTTP gotcha, but also note that the ETag for Content-Encoding: gzip content had better be different than ETag for non-gzip content or it will end in tears for anyone doing range requests.)