[squid-users] gzip deflate

Alex Rousskov rousskov at measurement-factory.com
Thu Mar 17 02:52:34 UTC 2016


On 03/16/2016 02:21 AM, joe wrote:
> You need to direct messages to the service(s) using adaptation_access
> directives:
> isn't faster if we use gzip library instead that will minimize the redirect
> ms..direct decompress

Virtually everything would be faster if done directly in Squid. The
processing speed is not the primary acceptance criteria, or we would
never have ICAP, eCAP, URL rewriters, authentication helpers, SSL
certificate validators, and other "helpers".

Compressing and uncompressing content on-the-fly is a lot more difficult
than adding a couple of zlib function calls. It probably also requires
several configuration/tuning options to accommodate various deployment
environments. To make it worth implementing inside Squid, decompression
has to be a very frequent feature request OR it has to be nearly
impossible to do well outside of Squid (while still being reasonably
popular). AFAICT, neither is true but please submit a more detailed
proposal if I am wrong.


Thank you,

Alex.



More information about the squid-users mailing list