Image-Cache to survive app restart


I am using the Image-Cache module and it seems that the cache is cleared every time my app is restarted. I was wondering what the best way would be the best way to make the cache survive these restarts. Is there some way I can serialize the whole cache and write it to the local file system / appSettings?


When you say image-cache are you referring to the built-in module that comes with TNS Core Package or it’s a plugin?


I am using the built-in module