TAG NAME external_refresh_check

Description This option defines an external helper for determining whether to refresh a stale response.
Buid Option
Default
Usage
external_refresh_check [options] FORMAT.. /path/to/helper [helper_args]
Default
none
Synopsis

This option defines an external helper for determining whether to refresh a stale response. It will be called when Squid receives a request for a cached response that is stale.


FORMAT

%CACHE_URI The URI of the cached response
%RES{Header} HTTP response header value
%AGE The age of the cached response

Example(s)
external_refresh_check %AGE path to file