Image cache question

Benjamin Beaumont ben at
Wed May 21 10:01:17 EDT 2014

Hi Phil,

This was discussed by the team at the time. There is no special handling
for the changing of images currently referenced by the cache. I spoke to
one of the engineers and he suggested unsetting the reference to the image
as the cache will release images that no longer have a reference. Reseting
the filename will cause the image the be recached in it's new form.

Warm regards,


On 21 May 2014 12:52, Phil Jimmieson <phil at> wrote:

> Hi folks,
> as far as I understand it, with the new image caching features of LiveCode
> 6 and later, images are loaded into a cache based on their full filename
> and then every reference to that image in LiveCode uses the cached copy.
> I've got an image on disk that is used in my program, and the image on disk
> is subject to change. It seems though, that once I've loaded the image once
> (via a referenced image on a card), no attempt is made by LiveCode to fetch
> the image from disk again and I can't figure out a way to force it to get
> the new version of the image. Is there a way to flush an image from the
> cache so that the next time the image is fetched it is loaded from disk and
> not from the image cache, or is the only solution to change the filename
> each time? The LiveCode program in questions is supposed to run on Mac and
> Windows (though at some point, this may bite me on iOS too).
> Thanks
> --
> Phil Jimmieson  phil at  (UK) 0151 795 4236
> Computer Science Dept., Liverpool University, Ashton Building, Ashton
> Street
> Liverpool L69 3BX    
> I used to sit on a special medical board... ...but now I use this ointment.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:


Benjamin Beaumont . RunRev Ltd

LiveCode Product Manager
mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW
email : ben at
company : +44(0) 845 219 89 23
fax : +44(0) 845 458 8487
web :

LiveCode - Programming made simple

More information about the Use-livecode mailing list