Problem with SVG Cache

Sebastian Kügler sebas at kde.org
Mon Mar 16 19:15:39 CET 2009


On Monday 16 March 2009 18:08:01 Aaron J. Seigo wrote:
>   On Sunday 15 March 2009, Sebastian Kügler wrote:
> > Can't we keep an KFileWatcher-eye on the theme directories, and
> > invalidate the cache for files that have been changed?
>
> we could, but given that those files change extremely rarely it would be
> unfortunate if we'd have to resort to that.

You mean because the number of inotify handles is limited? Fair enough.

My idea was to avoid touching the disk as much as possible, especially during 
startup as i/o is extremely expensive and comparing timestamps seems backwards 
(changing system time should not invalidate caches, and so on).
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 



More information about the Plasma-devel mailing list