Comment 8 for bug 120697

Revision history for this message
Matt Nordhoff (mnordhoff) wrote : Re: [Bug 120697] Re: bzr shouldn't bypass http caches

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'?
--