offline_mode

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

Default

offline_mode off

Example

offline_mode on



    Appendix A. Config File Reference