On 24-10-2011 16:29, Aditya Mahajan wrote:
downsamples images are cached so the overhead is minimal
Is caching based only on the figure name? If I change the original figure, will the cached figure be updated?
Sure, local oldtime = lfs.attributes(oldname,'modification') or 0 local newtime = lfs.attributes(newname,'modification') or 0 if newtime == 0 or oldtime > newtime then In fact it's just integration of old resource library code (ruby stuff that happened between runs). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------