[squid-users] routing to parent using carp

Amos Jeffries squid3 at treenet.co.nz
Tue Nov 24 10:21:06 UTC 2015


On 24/11/2015 11:11 p.m., Sreenath BH wrote:
> Hi all,
> 
> We are planning to use carp to route requests based on request URL.
> A part of the URL refers to a part of the file that is being requested
> in the GET request(say a part of a video file)
> 
> However, to make the back-end more efficient, it would be great if all
> requests for a particular file  went to same parent server.
> 
> Is there a way in Squid to make it use a part of the URL when it
> calculates the hash to map the URL to a parent?

See the documentation on CARP options:
<http://master.squid-cache.org/Doc/config/cache_peer/>

Amos



More information about the squid-users mailing list