[squid-users] Squid4 has extremely low hit ratio due to lacks of ignore-no-cache
yvoinov at gmail.com
Mon Oct 26 17:22:19 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
We see in redbot.org this info in server response:
So, what? 3.5.10 permit ignore this. 4.0.x - deny.
Maybe I'll decide what and how to cache in the my setup?
26.10.15 23:01, Alex Rousskov пишет:
> On 10/26/2015 04:41 AM, Yuri Voinov wrote:
>> what has changed so much that the same
>> configuration I get 10 times smaller cache hit.
> You are asking a good question. I do not think anybody knows the exact
> answer -- too many things have changed in general to either identify the
> changes that have affected your [complicated] setup or to exclude all of
> the changes and blame some yet-unknown v4 bug.
> However, the following procedure is almost guaranteed to lead you to the
> 1. Find a URL/resource that was served from the cache in v3 but became a
> miss in v4. You probably have access.logs that can be used for that. If
> not, enable them and run more experiments. Since your drop in hit ratio
> is so drastic, it should not take long to find a URL that was usually a
> hit before and is usually a miss now (or that becomes a hit/miss as soon
> as you switch to v3/4).
> 2. Reproduce the v4 miss with an ALL,9 cache.log and share that log. Do
> this using single-transaction command-line tools, with no other traffic
> going through Squid. Others on this list can guide you as to what
> logging options to use if you do not want to run with ALL,9.
> The above requires some work on your part. It is a good idea to run
> these tests in a non-production environment (which may require even more
> work from you). Needless to say, you are not required to do that extra
> work. However, some extra work is most likely required if you want to
> get the answer to your question because there is currently not enough
> information to answer it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the squid-users