Re: [squid-users] Denying write access to the cache

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 26 Mar 2007 11:37:23 +0200

fre 2007-03-23 klockan 14:40 +0100 skrev Guillaume Smet:

> After this introduction, here is my question: is there any way to deny
> the write access to the cache? I'd like to be able to say: all these
> user agents can use the cache but don't write anything in it.
> I don't find anything to do this sort of things.

One way is to set up a separate set of cache_peer for these robots,
using the no-cache cache_peer option to avoid having that traffic
cached. Then use cache_peer_access with suitable acls to route the robot
requests via these peers and deny them from the other normal set of
peers.

Regards
Henrik

Received on Mon Mar 26 2007 - 03:37:28 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT