Re: [squid-users] 2 questions about refreshing cache

From: Jon Kay <jkay@dont-contact.us>
Date: Thu, 20 Dec 2001 02:45:20 -0600

Nikolai Vladychevski wrote:
>
> Hi,
>
> I have been using squid 2.4 for a while and I noted that if I type an url (
> http://www.somesite.com) and there is no connection to the internet squid
> fails to retrive the page (obviously). But, when I connect to the internet
> and type the url again, squid keeps reporting that the domain somesite.com
> is unaccessible. Squid caches this and I have to restart it, so it can make
> a dns lookup and access the site. This is a little bit annoying, is there a
> way to configure squid that it will always do a lookup no matter how many
> failures before where on the particular domain?
>

Set negative_dns_ttl to zero.

> Question 2.
> How can force squid to refresh an a webpage stored in the cache doing it
> from the browser, for example, if I would add "()" to the end in the URL:
>
> http://www.squid-cache.org()
>
> it would fetch all objects from the source and update cache.... ? I would
> use it if I know the source has changed and I want to update cache quickly.

Issuing a refresh from the browser generally forces Squid to update. Is
that
what you're after?

-- 
Jon Kay        pushcache.com                      jkay@pushcache.com
http://www.pushcache.com/                             (512) 420-9025
Squid consulting				  'push done right.'
Received on Thu Dec 20 2001 - 01:46:46 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:25 MST