Re: [SQU] Squid doesn't download updated sites

From: Robert Collins <robert.collins@dont-contact.us>
Date: Tue, 6 Feb 2001 18:43:21 +1100

Hi fabian,
 squid's refresh pattern is used when squid needs to _guess_ the expiry time for an object. The pattern you quote below of 0 20%
4320, for an object 1 day old will result in cache hits for 4.8 hours. (20% of the age of the object).

After 4.8 hours squid will send the request upstream as a IMS (if modified since) request.

The EXPIRES header simply lets sites tell squid rather than it guessing.

If hitting refresh in your browser doesn't work (this should get squid to send a IMS request even if less than the hit time (in this
example 4.8 hours) has passed) then you may be getting bittn by the following:

There are issues with 'transparent' caching, if you are using that then that is almost certainly the issue. Try configuring your
browser with the proxy set manually. You may find that fixes your issue.

Rob

----- Original Message -----
From: "Fabian Krämer" <fabian.kraemer@VITODATA.CH>
To: <squid-users@ircache.net>
Sent: Tuesday, February 06, 2001 5:19 PM
Subject: WG: [SQU] Squid doesn't download updated sites

Hi Martin,

I don't blame squid, it's just a question.
By the way:
before I posted this messages to the group a cleared the local cache of my
IE. The problem is still appearing!
I guess I have this problem because the provider of this site doesn't
support the EXPIRE variable for this site. So squid have to wait the MAX_AGE
timer (in this case 72 hours) until it's reloading the page.

Greetings from Switzerland
Fabian

-----Ursprüngliche Nachricht-----
Von: Martin A. Brooks [mailto:martin@hinterlands.org]
Gesendet: 02.02.2001 22:32
An: Fabian Krämer; 'squid-users@ircache.net'
Betreff: Re: [SQU] Squid doesn't download updated sites

At 14:40 05/02/01 +0100, Fabian Krämer wrote:
>Hi,
>
>I've installed Squid 2.3 Stable 2.
>The problem I have is that squid doesn't download updated html-sites. We
>have posted modifications to a site hosted by a provider. If we want
>access this site by squid we can only see the old site (without the
>modifications).
>It seems that squid looks for site changes only every 72 hours like set in
>"refresh_pattern 0 20% 4320".
>Squid doesn't notice that the sites were modified.

Many browsers cache webpages independently of the Squid cache itself. The
worst culprit for this is IE, which often caches pages despite setting it's
cache size to 0, forcing (in theory) a per-instance check and saying never
ever /ever/ EVER cache anything, /EVER/. :)

It might be worth checking this out before blaming Squid. Check it, /then/
blame Squid :)

Regards

Martin A. Brooks
------------------------------------------------------
If Windows NT were an animal, it'd be a fainting goat.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Feb 06 2001 - 00:48:36 MST

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