[squid-users] Squid and compression

Yuri Voinov yvoinov at gmail.com
Thu Aug 27 09:48:25 UTC 2015

Hash: SHA256
I agree in general, but there are some considerations.

1. Compressed content is almost always becomes unique. Which leads to a
dramatic decrease in the cache hit ratio.

2. Compression actually became a de facto standard on the Internet.

3. Project ecap-gzip looks dead for over three years as squidguard.
There is no active maintainers and we have to dig in sources myself.
Solution compatibility do not actually confirm or not the Squid team.
While independent tests confirm the compatibility and show good results.

4. The structure of Squid-3 actually included a third-party utility
purge. What prevents the same way include ecap-gzip directly in code,
without ecap usage?

It is not about exotic functionality demanded a bunch of geeks. It is
about having the widest distribution of functionality, more than 90% of
servers on the Internet are using compression. This is not a whim of the
user. This is servers default behaviour. And I believe that the caching
proxy default is to use all that as part of the standard, to obtain the
highest possible degree of caching.

WBR, Yuri

PS. Amos, I generally agree that we talk functionality, which "will not
be implemented neve because we do not want to do that." But you will
agree that my arguments are essential.

27.08.15 9:49, Amos Jeffries пишет:
> On 27/08/2015 8:50 a.m., Yuri Voinov wrote:
>> Btw,
>> when Squid will directly support gzip, inflate compression itself?
> Thats a tough question. "When someone does it." is the sadly true cliche.
> Transfer-Encoding with gzip is what Squid as a proxy is actually
> expected to do by the protocol. But neither Squid nor most other
> software implement it so its not got much demand. I'm working on it as a
> hobby task and a favour for a customer who cant get signoff on big costs
> for such a low-gain feature. So small steps at a time and still a ways
> off at this rate.
>  (exactly *when* is sponsor dependent. Anyone want to front up a few
> weeks or months of full-time developer paycheck to see it happen by Jan
> 2016 or some deadline like that?)
> But what most of you are talking about with this gzip question is
> actually Content-Encoding:gzip as used by browser and origin servers.
> Recoding that on the fly is content adaptation. An eCAP service plugin
> already exists and was the right way to go IMHO. I'm not sure what
> happend to the plugins author. Theres still lots of optimization stuff
> to be done in that area.
> Normalizing the Accept headers before Vary processing is simpler change.
> But again needs someone interested in doing it, and is possibly better
> suited to the eCAP adaper doing in prep for its reply transformations.
> This Vary stuff does have a fair few bugs and missing bits so its not
> quite clean sailing or would have happened years ago.
> So lots to be done. But nobody with money has enough interest right now
> in seeing it happen. Whats the phrase, "free as in freedom, not beer".
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

Version: GnuPG v2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150827/128a3320/attachment-0001.html>

More information about the squid-users mailing list