To download faster, I replace big pngs with small dummy Image (100 byte png) for game level 3 onwards. Then at run time before user reaches level 2 I download actual images and replaces them with dummy ones. Ideally this should work, but actual images are not loaded on the screen. I guess construct 2 loads all the images beforehand in the cache. So How do I clear these cache once actual image is downloaded?
I tried calling following javascript methods just before level 3 loads, but it didn't worked for me.
window.parent.caches.delete("call")
window.location.reload(true)