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 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.