Search squid archive

Re: How to write squid.conf for this special proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 23, 2009 at 2:25 AM, Chris Robertson <crobertson@xxxxxxx> 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
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux