Name

offline_mode

Synopsis

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 on|off

Default

offline_mode off

Example

offline_mode on

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.