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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 24 Apr 2006 01:02:05 +0200

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

Received on Sun Apr 23 2006 - 17:02:19 MDT

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