Problem with SVG Cache
Sebastian Kügler
sebas at kde.org
Sun Mar 15 22:25:12 CET 2009
On Friday 13 March 2009 17:52:22 Aaron J. Seigo wrote:
> On Friday 13 March 2009, Marco Martin wrote:
> > what i was thinking about is checking the file timestamp only when a svg-
> >
> > >setImagePath is done and when the file doesn't belong to the theme (or
> >
> > doesn't belong to widgets or dialogs folders) this shouldn't add too much
> > overhead since those files are hopefully as less as possible and should
> > have less unexpected results..
>
> yes, that should work. it should only need to be done on creation of the
> Svg object so at most should be once per file per instance of that
> plasmoid.
Can't we keep an KFileWatcher-eye on the theme directories, and invalidate the
cache for files that have been changed?
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090315/e3797848/attachment.sig
More information about the Plasma-devel
mailing list