Re: Bug#30643: base: apt-get update problems with http-/ftp-caches (i.e. squid)
On Sun, 13 Dec 1998, Thomas Osterried wrote:
> On Sat, Dec 12, 1998 at 01:56:15PM -0700, Jason Gunthorpe wrote:
> > > apt-get gets the package-descriptions. the proxy learns them. but it
> > > seems, that in the next runs of apt-get squid offers always the old
> > > files.
> > Squid does not support the HTTP cache-control headers so there is no way
> > to inform it to reload the cache. The new aot sends the proper cache
>
> hmm, as far as i can see (in the source), squid does look if a page is
> reloaded by a client, looking at the "Pragma: no-cache" tag.
>
> squid-2.1.RELEASE/src/client_side.c:
Perhaps the person I was talking to was refering to the released 2.0. I
have a patch someplace that makes 2.0 support at least Cache-Control:
no-cache so it's likely that 2.1 supports it too.
The pragma header is an old http/1.0 throw back
Jason
Reply to: