Search squid archive

Re: refresh_pattern only extends expiration?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgot to mention -- Squid is used as a _reverse_ cache proxy (server side).

On Wed, Aug 26, 2009 at 2:23 PM, Guy Bashkansky<guybas@xxxxxxxxx> wrote:
> 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.
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux