Squid: The Definitive Guide

 < Day Day Up > 

neighbor_type_domain

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 parentsibling hostname domain ...

Default

No default

Example

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

Related

cache_peer , cache_peer_domain

 < Day Day Up > 

Категории