Re: Using a squid cache as a read only cache

From: Tom Minchin <[email protected]>
Date: Thu, 10 Jul 1997 22:21:00 +1000 (EST)

> G'day all.
>
> I was just wondering about the possibility of using an existing squid
> setup as a read-only cache for users who want to browse the web without
> incurring a volume bill.
>
> Is is possible to have squid listen on two ports for connections, say
> 8080 and 8090, and if it receives a request on 8080 it fetches the
> document (if it is not in cache) but if it receives a request on 8090
> then it does not fetch the documnet if it is not in cache. You could
> obviously patch the source code, but is their any other way of doing it?
>
Two possibles:
1) put the read-only users on a subnet of their own and only give that subnet
sibling style access (ie no miss access). this means they are locked into
read only for their entire session.
2) (better) run a proxy - ie no caching, just pure pass thru - on another
IP address that proxies back into your main cache, this IP is not given
miss access. this allows them to pick and choose between real and read-only
just by switching proxy hosts.

tom@interact.net.au
Received on Thu Jul 10 1997 - 05:24:09 MDT

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