Hi~
I'm using a plugin to preload some pictures (using script calls) into cache before showing them (to avoid that awful flickering).
But I feel I need to clear the cache after doing that.
I tried to do it with this script, which I had found in another thread:
but the console returns me this error:
So I guess I'm doing something wrong 😐
How can I clear the cache by deleting specific pictures?
I'm using a plugin to preload some pictures (using script calls) into cache before showing them (to avoid that awful flickering).
But I feel I need to clear the cache after doing that.
I tried to do it with this script, which I had found in another thread:
Code:
ImageManager.cache._inner["img/pictures/exp1.png:0"].free()
How can I clear the cache by deleting specific pictures?