On Mon, May 07, 2012 at 03:46:52PM +0100, Julian Gilbey wrote:
> The excuses files come to a total of over 1MB.  It would be great for
> grep-excuses to cache them in the same way that bts caches its bug
> reports so that they are not repeatedly downloaded if multiple queries
> are executed in separate commands.

We actually used to do that, but it was removed for #309802.  We were
even honoring the Last-Modified header so it wouldn't be re-downloaded
unnecessarily.

I think the correct fix for that bug would've been to use a tempfile
instead of the cache directory if the cache directory wasn't writable,
so let's do that now.

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to