Re: Forcing squid to refresh some URLs

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 17 Nov 1999 23:23:42 +0100

Jati Setiawan wrote:

> (old documents from A) to synchronize with the new ones. How
> could i force squid to refresh its cache for some certain sites
> so the clients can see the updates as soon as possible?

Thats a tuff question.

The best you currently can do is to PURGE the most important pages, and
add a suitable refresh_pattern setting to squid.conf. However, keep in
mind that it is important that the dates of your servers are correct, or
freshness checks will fail with false positives.

Squid's cache isn't organized in a way which makes site or pattern based
forced revalidations easy. The only tools available is the PURGE method
for removing individual URL's from the cache, and the refresh_pattern
configuration to tune Squids expiry calculation heuristics on objects
without an explicit expiry time.

--
Henrik Nordstrm
Squid hacker
Received on Wed Nov 17 1999 - 15:46:45 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT