[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image cache
From: |
Chong Yidong |
Subject: |
Re: Image cache |
Date: |
Fri, 10 Feb 2006 21:14:45 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Miles Bader <address@hidden> writes:
> On 2/11/06, Richard M. Stallman <address@hidden> wrote:
>> But it is a bug that the image cache doesn't get updated when the image
>> file
>> content changes. Is there an easy way to fix it?
>>
>> Fixing this would be desirable. One way to do it would
>> be to store the file's modtime in the image cache.
>> Then any reference to the cache could stat the file
>> to see if it has changed, and reload it if necessary.
>>
>> That is pretty simple in theory. Is it simple in practice?
>
> One certainly doesn't want to do a stat on _every_ reference, as stats
> can be expensive (and the thumbs package will tend to use lots of
> images)
I think a good way to do it is to provide a function that Lisp
programs can use to reload a specific cached image (rather than the
entire cache).
- Re: Image cache, (continued)
- Re: Image cache, Stefan Monnier, 2006/02/07
- Re: Image cache, Richard M. Stallman, 2006/02/09
- Re: Image cache, Juri Linkov, 2006/02/09
- Re: Image cache, Chong Yidong, 2006/02/09
- Re: Image cache, Mathias Dahl, 2006/02/09
- Re: Image cache, Miles Bader, 2006/02/09
- Re: Image cache, Richard M. Stallman, 2006/02/10
- Re: Image cache, Miles Bader, 2006/02/10
- Re: Image cache,
Chong Yidong <=
- Re: Image cache, Miles Bader, 2006/02/11
- Re: Image cache, Juri Linkov, 2006/02/10
- Re: Image cache, Stefan Monnier, 2006/02/11