Re: [squid-users] Reverse Proxy Cache ONLY Relative URL

From: Rajkumar Seenivasan <rkcp613_at_gmail.com>
Date: Thu, 28 Oct 2010 23:14:51 -0400

use cache_peer option with type sibling on both. make sure to add
"proxy-only" to avoid double dipping.
use ICP or HTCP for squid-to-squid communication to share the
available caches between the 2.
start with ICP as its simple to setup.

check out the link below for a complete list of config options.
http://www.squid-cache.org/Versions/v3/3.1/cfgman/index.html#toc_cache_mem

On Thu, Oct 28, 2010 at 11:51 AM, Sokol, Ryan - 1244 <ryans_at_ha.com> wrote:
> How do I do that exactly?
>
> -----Original Message-----
> From: Rajkumar Seenivasan [mailto:rkcp613_at_gmail.com]
> Sent: Thursday, October 28, 2010 10:49 AM
> To: Sokol, Ryan - 1244
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] Reverse Proxy Cache ONLY Relative URL
>
> you may configure the two squids as siblings behind the loadbalancer
> to eliminate the need to pre-cache on both squids.
>
>
> On Wed, Oct 27, 2010 at 9:42 AM, Sokol, Ryan - 1244 <ryans_at_ha.com> wrote:
>> -----Original Message-----
>> From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
>> Sent: Tuesday, October 26, 2010 7:23 PM
>>> Definitely not. Relative URLs are not unique. Visit the "/" page from
>>> http://example.com/ and imagine what complaints you would get if it
>>> appeared instead of your own website "/" page.
>>
>> But I only have one site that I'm proxying, so the non-domain part of all URLs cached is exactly the same.  http://www.domain.com/object.html is exactly the same as http://squid1.domain.com/object.html.
>>
>>> * There is no requirement for you to send the absolute URL
>>> "http://squid1.domain.com/object.html" to your squid1. You can as easily
>>> contact it directly:
>>>  squidclient -h squid1 http://www.example.com/object.html
>>
>> Great!  Didn't know that tool exists.  It is certainly one way to precache.
>>
>>> * Also, pre-caching has a very limited set of uses. Check that you
>>> actually need to do this before wasting bandwidth.
>>
>> My squids sit in front a dynamic imaging server that often takes 10-15 seconds to generate the resulting image.  I don't want my customers to have to wait for these images, so I precache for them.
>>
>>
>
Received on Fri Oct 29 2010 - 03:14:55 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 29 2010 - 12:00:03 MDT