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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.