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