[squid-users] Re: cache replacement

From: RW <fbsd06@dont-contact.us>
Date: Fri, 10 Aug 2007 22:19:40 +0100

On Fri, 10 Aug 2007 12:30:44 +0500
"Shabbir Ahmed" <shabbir@gol.net.pk> wrote:

>
> i would like to know how squid replaces old items in cache by default.
>
> like there isa site called abc.com squid cached it today and next day
> abc.com made some changes what is the criteria squid ll cache changes
> and users ll get the newer pages.
>

When a client requests an object, squid looks at the object's expiry
time to determine whether it's stale or fresh. If there isn't an expiry
time a set of rules are used instead. Fresh objects are fetched out of
cache. If an object is stale, a conditional request is made to the
webserver, which replies either with a new version of the object, or a
code saying the exiting object is still valid.

It's also possible for browsers to force an update, or force a check
for updates.
Received on Fri Aug 10 2007 - 15:20:11 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT