Name

minimum_direct_hops

Synopsis

If you’re using netdb (see Section 10.5), and a cache hierarchy, Squid forwards requests directly to origin servers that are within this many router hops. Such requests are marked with CLOSEST_DIRECT in access.log.

Syntax

minimum_direct_hops N

Default

minimum_direct_hops 4

Example

minimum_direct_hops 6

Related

minimum_direct_rtt, always_direct

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.