On tor, 2008-10-16 at 13:49 +0500, Anton wrote: > Hello! > > was trying for a few hours to have a certain site > (http://www.nix.ru) to be not cacheable - but squid always > gives me an object which is in cache! > > My steps: > > acl DIRECTNIX url_regex ^http://www.nix.ru/$ > no_cache deny DIRECTNIX > always_direct allow DIRECTNIX This only matches the exact URL of root page of the server, not any other objects on that web server (including any inlined objects or stylesheets). What you probably want is: acl DIRECTNIX dstdomain www.nix.ru no_cache deny DIRECTNIX which matches the whole site. always_direct is unrelated to caching. But if you want Squid to bypass any peers you may have (cache_peer) then it's the right directive. Regards Henrik
Attachment:
signature.asc
Description: This is a digitally signed message part