[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt experimental breaks w/ webcaching (was Re: apt 0.6 in experimental)



On Fri, Jan 16, 2004 at 11:12:53PM +0100, Florian Weimer wrote:

> Anthony DeRobertis wrote:
> 
> > Is it possible that I'm getting outdated copies of the Packages.gz and  
> > Sources.gz file, possible due to my webcache? Yes, taking out the proxy  
> > in /etc/apt/apt.conf fixes this.
> 
> Using apt-proxy results in the same problem, by the way.
> 
> I don't think this is a bug in those proxies, strictly speaking.
> Nothing in HTTP/1.1 guarantees that if you fetch a set of resources,
> this set is consistent from an application view.  *sigh*

apt 0.6.11+ sends an appropriate Cache-Control: max-age header, so if the
cache honors it (and the standard requires this), then there should be a
very small window (equal to the difference in timestamps between Release and
Release.gpg) during which the result could be inconsistent.  If you are
seeing otherwise, I would like to hear about it.

-- 
 - mdz



Reply to: