Re: [squid-users] How to write squid.conf for this special proxy?

From: Hua Su <huas.su_at_gmail.com>
Date: Sat, 23 May 2009 11:35:34 +0800

On Sat, May 23, 2009 at 2:25 AM, Chris Robertson <crobertson_at_gci.net> wrote:
> Hua Su wrote:
>>
>> Hi all,
>> I need to setup a http proxy for all web sites,
>
> Okay...  That's what Squid does.
>
>>  but only a dozen of predefined web sites should be cached,
>
> Okay...  http://www.squid-cache.org/Doc/config/cache/

Thank you very much!

>
>>  and each sites has its own cache quota.
>
> Uhhh...  You mean you only want to allocate a specific amount of the cache
> for each site?  One Squid instance can't do that.  It would be possible to
> have one dedicated Squid instance per site-to-cache, each with a cache_dir
> set to the quota for that site, and a front-end child process that directs
> the traffic to the proper dedicated instance...  Something like
> http://wiki.squid-cache.org/ConfigExamples/MultiCpuSystem, but I'd recommend
> avoiding that route.

It seems that there is no other way to do that :(

>
>>  Would you kindly give me an example of squid.conf?
>>
>> Thanks in advance!
>>
>> --
>> Hua
>>
>
> Chris
>
Received on Sat May 23 2009 - 03:35:40 MDT

This archive was generated by hypermail 2.2.0 : Sat May 23 2009 - 12:00:02 MDT