Re: [squid-users] Object becomes STALE: refresh_pattern min and max

From: Itzcak Pechtalt <itzcak_at_gmail.com>
Date: Wed, 24 Sep 2008 14:35:59 +0300

On Wed, Sep 24, 2008 at 1:39 PM, BUI18 <lbui18_at_yahoo.com> wrote:
> Hi -
>
> I have squid box with tons of disk for the cache_dir
> (hundreds of GB). I use wget to perform some pre-fetching of large
> video files. I've set the min and max age to 5 days and 7 days (in
> minutes). And although I have plenty of disk space available, I still
> receive TCP_REFRESH_MISS for files that had been pre-fetched and later
> accessed the same day. Does anyone know why Squid would consider it as
> STALE? I thought that by setting the min value for refresh_pattern for
> the video file would guarantee freshness. Not only does the cache
> consider it STALE, it then goes and pre-fetches a new copy even though
> I know that the video file has not changed. Any help would be greatly
> appreciated. Thanks.
>
>
>
>

Hi,
Check if the video URL changes from request to request. In YouTube
video even if the main URL is the same, there is request ID in URL who
changes per request.

Itzcak
Received on Wed Sep 24 2008 - 11:36:02 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 24 2008 - 12:00:03 MDT