I am fetching and storing file in IndexedDB as persistent storage. But when I check if file exists in IndexedDB (through fetch API) after clearing browser cache, then it silently fails. I noticed that IndexedDB database 'emscripten-filesystem' get deleted when I clear the caches.
My question is, do I have to re-create that database again myself (some js code) in order to work? or is there any other way that re-creates the database automatically?