Name

neighbor_type_domain

Synopsis

You can use this directive to modify the relationship for a neighbor cache selectively. For example, you may have a sibling neighbor that allows you to fetch misses for certain, nearby domains. The neighbor_type_domain option overrides the type given in the cache_peer line for requests that match the listed domains.

The syntax and algorithms for matching domain names are identical to the cache_peer_domain directive.

Syntax

neighbor_type_domain parent|sibling hostname 
                              domain ...

Default

No default

Example

neighbor_type_domain bigcache.isp.net parent .customer.isp.net

Related

cache_peer, cache_peer_domain

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.