Re: [squid-users] cache dir files

2004-12-02 Thread Kvetch
I understand that but wondered what the difference between a MEM_HIT
and a HIT was, if there was a difference.
When does squid write cache to disk?


 
  HIT means that the object is already in the cache and or on the
  disk as you write. So in that case the object has to be read,
  nothing has to be written.
 
 
  and what is the difference between TCP_MEM_HIT and TCP_HIT:NONE
 
   http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.7
 
   M.
 



RE: [squid-users] cache dir files

2004-12-02 Thread Chris Robertson
TCP_HIT:  A valid copy of the requested object was in the cache, but not in
memory.
TCP_MEM_HIT:  A valid copy of the requested object was in the cache and it
was in memory, thus avoiding disk accesses (read).

The copy of the site will be cached during a TCP_MISS.

Chris

-Original Message-
From: Kvetch [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [squid-users] cache dir files


I understand that but wondered what the difference between a MEM_HIT
and a HIT was, if there was a difference.
When does squid write cache to disk?


 
  HIT means that the object is already in the cache and or on the
  disk as you write. So in that case the object has to be read,
  nothing has to be written.
 
 
  and what is the difference between TCP_MEM_HIT and TCP_HIT:NONE
 
   http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.7
 
   M.
 



RE: [squid-users] cache dir files

2004-12-01 Thread Elsen Marc

 
 
 Hello - I am having some difficulties using some cache purging
 utilities and noticed a couple things.  I have squid setup as a
 reverse proxy and when I view one of my cached sites I see
 TCP_HIT:NONE in my access log but I cannot find any files being
 written to my cache dirs that would contain this HIT.  From what I can
 tell the purge scripts I have found, scan your cache dirs and use
 squidclient to purge every instance in cache containing the variable
 you gave the purge script.  But without files being written to the
 cache_dir I don't think it can do anything.
 Does anybody have any ideas on why my cached HITS wouldn't be 
 written to disk?

 HIT means that the object is already in the cache and or on the
 disk as you write. So in that case the object has to be read,
 nothing has to be written.

 
 and what is the difference between TCP_MEM_HIT and TCP_HIT:NONE

  http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.7

  M.