[squid-users] refresh_pattern only extends expiration?

From: Guy Bashkansky <guybas_at_gmail.com>
Date: Wed, 26 Aug 2009 14:23:55 -0700

Please help:

Trying to set an exact time-to-live (override origin cache control) in
Squid (2.4 STABLE6) configuration:
___

refresh_pattern   30_minutes_cache_control_url   15   0%   15
override-expire   ignore-max-age

Observed: URL is matched (in log), but objects still cached for 30
minutes, rather than 15, as hoped.
___

refresh_pattern   30_minutes_cache_control_url   60   0%   60
override-expire   ignore-max-age

Observed: URL is matched (in log), and objects are cached for 50-70
minutes (not exactly 60).
___

Q1: Does refresh_pattern only extend expiration? Is there a way to
enforce an exact time-to-live (per URL) in Squid?

Q2: Does refresh_pattern operate in +-10 minutes granularity?  Why 60
minutes become 50 - 70?

Thanks.
Received on Wed Aug 26 2009 - 21:24:21 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 27 2009 - 12:00:04 MDT