LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Squid vs Browser cache

[ILUG] Squid vs Browser cache

Subba Rao subb3 at attglobal.net
Sat Feb 19 14:02:47 GMT 2000


On  0, Fergal Daly <fergal at 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 attglobal.net
http://pws.prserv.net/truemax/

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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell