Re: [squid-users] Squid is caching files that have been updated

From: Webcom support <support@dont-contact.us>
Date: Mon, 24 Apr 2006 11:18:43 +0200

Sorry, what I'm looking for is how to use the If-Modified-Since
header, which is the only header the static files I get uses.

/Jacob

On 4/24/06, Jacob Friis Saxberg <support.webcom@gmail.com> wrote:
> So if I set:
> refresh_pattern ^http: 0 0% 0
> Squid will ask the webserver everytime, and only use the cache, if the
> file is not modified?
>
> Thanks,
> Jacob
>
> On 4/24/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> > lör 2006-04-22 klockan 21:57 +0200 skrev Jacob Friis Saxberg:
> > > Here's my result:
> > > http://www.ircache.net/cgi-bin/cacheability.py?query=http%3A%2F%2Fdfa.dk%2Flib%2Fmenu_site.xslt
> > >
> > > How can I make sure that Squid doesn't use TTL for HTTP?
> >
> > What you want it to do then?
> >
> > HTTP does not announce when an object changes. Instead it relies on
> >
> > a) The web server to provide an indication when the object is expected
> > to change, done via the Expires and/or Cache-Control: max-age HTTP
> > headers.
> >
> > b) If the web server doesn't give any freshness/expiry indication caches
> > guesses based on the modification age of the object.
> >
> >
> > Squid's guesses ('b') is tuned by the refresh_pattern directive in
> > squid.conf.
> >
> > Regards
> > Henrik
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (GNU/Linux)
> >
> > iD8DBQBETAdt516QwDnMM9sRAsCtAJ4ywF6TT3vCS2qzev6HQFATldTuDwCeNJhz
> > tS4ywXiUITymC3kTy4wUUkk=
> > =y+Sv
> > -----END PGP SIGNATURE-----
> >
> >
> >
>
Received on Mon Apr 24 2006 - 03:18:47 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT