Re: [ILUG] Squid vs Browser cache

From: Subba Rao (subb3 at domain attglobal.net)
Date: Sat 19 Feb 2000 - 14:02:47 GMT


On 0, Fergal Daly <fergal at domain esatclear.ie> wrote:
>
> Squid could be checking the last modified time of the page to make sure
> there isn't a more recent one before serving the cached copy. If you look
> in the squid logs, every entry gives a size, if the size is around 4-5
> hundred bytes then it means that it just checked the change time but didn't
> download the page.
>

One other thing I wanted to point out was about accessing cache. Please look
at the following messages to the same site from 2 different machines.

From Linux:

950968381.349 1293 127.0.0.1 TCP_MISS/200 4390 GET http://www.squid-cache.org/ root DIRECT/www.squid-cache.org text/html
950968383.566 1939 127.0.0.1 TCP_MISS/200 2125 GET http://www.squid-cache.org/Icons/squidnow.gif root DIRECT/www.squid-cache.org image/gif
950968383.706 2036 127.0.0.1 TCP_MISS/200 856 GET http://www.squid-cache.org/Icons/cache_now.gif root DIRECT/www.squid-cache.org image/gif
950968384.345 2842 127.0.0.1 TCP_MISS/200 10902 GET http://www.squid-cache.org/Squidlogo2.gif root DIRECT/www.squid-cache.org image/gif

From NT:

950968451.495 2 127.0.0.1 TCP_MEM_HIT/200 4398 GET http://www.squid-cache.org/ root NONE/- text/html

What the TCP_MISS and TCP_MEM_HIT flags? For the NT machine, the page is instantly
delivered, but for Linux Squid fetches the page. Both the machines are pointing to
the same port on the Linux box.

Subba Rao
subb3 at domain attglobal.net
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:28 GMT