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

From: Antony Stone <Antony.Stone_at_squid.open.source.it>
Date: Tue, 16 Jul 2013 12:28:00 +0200

On Tuesday 16 July 2013 at 12:18:09, 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
> 3. Browse to another page
> 4. Browse back to CNN home page
> 5. Squid shows just a few misses but no hits either
> 6. Refresh browser and Squid shows a huge list of memory hits
>
> Is is normal that Squid ONLY shows hits after a physical refresh of the
> browser? And not when I normally access the page again.

Yes, because the "back" button on your browser (unless someone has done sneaky
javascript stuff etc) does not actually request the page over the network again
(either from the target server or from Squid) - it just shows you again what
you were last looking at, which of course it has in its own memory.

Antony

-- 
Ramdisk is not an installation procedure.
                                                     Please reply to the list;
                                                           please don't CC me.
Received on Tue Jul 16 2013 - 10:28:10 MDT

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