Search squid archive

Question about refresh_pattern and TCP_MEM_HIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have a simple question about refresh_pattern and TCP_MEM_HIT.
Given the following configuration:

refresh_pattern foo.example.org 0 0% 0
refresh_pattern . 0 20% 14400

Now, if i fetch something from foo.example.org i get a
TCP_CLIENT_REFRESH_MISS/200
The following request for the same url is shown in the squid.log with
TCP_MEM_HIT/200.
If i understand this correctly the TCP_MEM_HIT means that squid did not
reload the requested url but served the request with the object still in
memory, isn't it?
If so, I'm wondering why this url is kept in the memory cache. The
refresh_pattern above should prevent this case and force squid to reload
the asked object every time.

So, what's the explanation for this behaviour?

Thanks in advance!

-- Matthias


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux