RE: [squid-users] refresh_pattern doesn't work

From: George Hong <george@dont-contact.us>
Date: Tue, 24 Aug 2004 08:23:14 +0800

>
> > I'm running a reversed squid server and would like to update the gif
> > file in, say every 3 minutes.
>
> When you do update the file make sure the file modification timestamp
is
> set to "now" each time the file is changed. This will make Squid
notify
> the update correctly.
>
Where to set the timestamp? When I copy new gif file to
images/images.gif, its timestamp is newer than the old one.
> If you switch between files with different modification time without
> resetting the modification time only the most recent version (in terms
of
> file modification time) will get cached in Squid, as when Squid asks
your
> server if there has been any changes when you have switched to a file
with
> a earlier modification timestamp your server will indicate to Squid
that
> the version held by Squid is current because it is more recent than
what
> is currently available on the web server...
When I access the origin server, I can get the updated picture.
>
> Regards
> Henrik
Received on Mon Aug 23 2004 - 18:23:23 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT