Re: [squid-users] No_cache directive

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Mar 2002 01:27:59 +0100

The no_cache directive only stops content from entering the cache, it do
not stop cache hits on already cached content.

My general advice on how to control cacheing is to mostly ignore
no_cache and instead spend some time on understanding and make proper
use of refresh_pattern.

Regards
Henrik Nordström
Squid Developer

Ignacio Bernal wrote:
>
> I have a RH 7.2 (2.4.17) running squid (2.4 - STABLE 4). I'm triying to
> block
> serveral files caching with the no_cache tag :
>
> acl FICHEROS urlpath_regex \.xml$ \.css$ \.jar$ \.dtd$
> no_cache deny FICHEROS
>
> ... but in the access log I can see that css and dtd files are being cached:
>
> orfeo - - [28/Feb/2002:17:02:34 +0100] "GET
> http://xxxxx.servicios_un.dtd HTTP/1.0" 200 3607 TCP_HIT:NONE
> orfeo - - [28/Feb/2002:17:02:34 +0100] "GET http://xxxxx.servicios.css
> HTTP/1.0" 200 6848 TCP_HIT:NONE
>
> I'm doing something wrong ? Can I do anything to avoid caching those files ?
>
> Thanks in advance, Ignacio Bernal
Received on Mon Mar 25 2002 - 20:20:37 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:04 MST