Squid: The Definitive Guide

 < Day Day Up > 

offline_mode

When you enable offline_mode , Squid returns every cached response as an unvalidated cache hit. These are tagged with TCP_OFFLINE_HIT in access.log . When in this mode, Squid still attempts to forward cache misses. If your system truly is offline, some requests may hang while waiting for the DNS or HTTP transaction to timeout.

Syntax

offline_mode onoff

Default

offline_mode off

Example

offline_mode on

 < Day Day Up > 

Категории