I currently use Galvs image Cache and I was wondering if there was a way to remove an item from cache after you are done with it. I came across this script in the big script call list:
But I can't seem to get it to work. Does this still work in MV or am I just doing it wrong? Any advice would be greatly appreciated.
JavaScript:
var path = 'img/characters/!Schaden.png';
var key = ImageManager._generateCacheKey(path, 0);
delete ImageManager._imageCache[key];
But I can't seem to get it to work. Does this still work in MV or am I just doing it wrong? Any advice would be greatly appreciated.