Re: Document caching

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Fri, 19 May 2000 10:43:25 +1000 (EST)

Hi,

You can do it a number of ways.

1) As already suggested, modify all the squid configs to change the
refresh-pattern.

2) Get your web server to serve meta-data with the pages that specifies
how long to cache the document. With Apache you config with

        --enable-module=cern_meta

and add the Meta directives:

        MetaFiles on
        MetaDir .
        MetaSuffix .meta

Then you can put the meta information in a file called whatever.doc.meta.

Colin

 On Thu, 18 May 2000, Koen Bosmans wrote:

> Hi,
>
> I have a small problem.
>
> Our company has multiple sites over the world and they all have a squid
> cache to cache web traffic.
> Now on our main site website there are many word and excell docs used by
> the people in the other sites. These documents are updated on a regular
> base (every 2 days or so).
> The problem now is that if somebody on a site downloads that document
> and a day or so later an update appears of this document then the people
> of that site always see that 'old' document again because it is cached.
>
> Is there a way to tell squid to update or flush these documents on a
> regular base (every 5h or so).
>
Received on Thu May 18 2000 - 18:46:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:32 MST