On 9/18/2012 6:01 PM, Silamael wrote:
> 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!
The refresh_pattern is regex which might just not match all your request.
if you do not want to cache you dont change the refresh_pattern to 0...
but use the:
cache deny acl
Regards,
Eliezer
-- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer <at> ngtech.co.ilReceived on Tue Sep 18 2012 - 21:11:33 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 19 2012 - 12:00:04 MDT