Comment 9 for bug 120697

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 120697] Re: bzr shouldn't bypass http caches

On Wed, 2007-11-28 at 00:56 +0000, Matt Nordhoff wrote:
> Robert Collins wrote:
> > I think we should keep this open a bit longer.
> >
> > Specifically, the current code assumes all files are equally hard to
> > cache. This is bogus.
> >
> > e.g.
> > foo.knit: not safe to cache
> > foo.kndx: not safe to cache
> > branch.conf: not safe to cache
> > 3847868641027641243.pack: safe to cache
> > 3847868641027641243.iix: safe to cache
> > branch-format: safe to cache
> > format: safe to cache
> > lock/*: not safe to cache.
> >
> > etc.
>
> branch-format and format aren't really safe to cache. What if someone
> runs 'bzr upgrade'?

Well, there's safe and safe I guess.

on the one hand those files change very rarely.

on the other they matter quite a bit :).

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.