Delete EVERYTHING in the Cache?

Is there any way to clear the Cache completely while the Game is running?

Best regards!
Not sure about the WHOLE cache, but I use this to clear the image manager when needed:

ImageManager.clear()
if you use pixi texture
PHP:
PIXI.utils.clearTextureCache()
or rmmv sprite picture
PHP:
ImageManager.clear()
you can not clear bitmap base sprite

Original thread: https://forums.rpgmakerweb.com/threads/delete-everything-in-the-cache.83832/