Re: [squid-users] Cache refresh

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 22 Jan 2011 16:26:13 +1300

On 22/01/11 09:03, Andy Nagai wrote:
> What is the default page cache refresh rate and where can I find the
> setting. Cannot find this info in any of the docs.
>

Refresh *rate*? AFAIK we have no such concept in Squid. It sounds like
some metric the log analysers generate.

Squid will refresh anything that needs refreshing at the point when the
client needs fresh data.

   If the client requests no-cache the cached object will be ignored and
a new one fetched.
   If earlier replies specified no-store or private there may be nothing
cached to be refreshed and a new one fetched.
   If the cached reply has an Expires header it will be refreshed at
next use following that exact timestamp.
   If the client requests max-age=60 Squid will refresh the reply at 61
seconds old or more.
   As a final backup a refresh_pattern supplies parameters to a
freshness estimation algorithm that will be applied.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.10
   Beta testers wanted for 3.2.0.4
Received on Sat Jan 22 2011 - 03:26:33 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 22 2011 - 12:00:04 MST