Re: [squid-users] Re: Squid only caches a few images and TCP_Miss everything else

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 16 Jul 2013 23:22:36 +1200

On 16/07/2013 10:18 p.m., jc.yin wrote:
> Oh but there is still one thing I'm not so clear about. This is what happens
>
> 1. Access CNN home page via Squid for the first time
> 2. Squid shows a huge list of misses
Neither cache has anything. Both are being filled for the first time.

> 3. Browse to another page
> 4. Browse back to CNN home page
> 5. Squid shows just a few misses but no hits either
Browser cache is supplying the results not Squid cache.
Some items cannot be cached so are re-fetched whenever needed, those are
the repeat MISS.

> 6. Refresh browser and Squid shows a huge list of memory hits

Depends on how you refreshed. If the browser simply skipped its cache
this is expected.
If the browser did a forced reload operation Squid should have
REFRESH'ed or MISS'ed as well.

HIT's here are very nice, but I'm not sure it was the wanted thing
without seeing what request headers the browser sent to Squid.

Amos
Received on Tue Jul 16 2013 - 11:22:44 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 16 2013 - 12:00:17 MDT