Re: no_cache is not working?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 01 Sep 1999 02:05:00 +0200

It may be that the object is already in the cache.

no_cache will only stop objects from entering the cache, it does not
stop already cached objects from being hits.

You can use a combination of no_cache and refresh_pattern to catch both.

no_cache deny QUERY
refresh_pattern cgi-bin 0 100% 0
refresh_pattern \? 0 100% 0

--
Henrik Nordstrom
Spare time Squid hacker
Evren Yurtesen wrote:
> 
> how come these log entries say "hit" when I have these lines in my
> squid.conf file?
> 
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> 
> 935958868.088      3 195.16.221.184 TCP_MEM_HIT/200 894 GET
> http://wy1fd.hotmail
> .msn.com/cgi-bin/dasp/hotmail.css? - NONE/- text/html
> 935958871.254   2477 195.174.177.98 TCP_HIT/200 26281 GET
> http://lw3fd.law3.hotm
> ail.msn.com/cgi-bin/HoTMaiL? - NONE/- text/html
> 935958871.928     56 195.174.177.50 TCP_HIT/200 889 GET
> http://lw3fd.law3.hotmai
> l.msn.com/cgi-bin/dasp/hotmail.css? - NONE/- text/html
Received on Tue Aug 31 1999 - 19:46:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:09 MST