BabylonJS IndexedDB

Hello all ,

I would like to ask if there is way to make BabylonJS stop ask for manifest to check version ,or can I do it manually ?

Is there anyway to make BabylonJS check version of database once and if it’s changed then check for meshes ?

I would like to reduce number of request for check meshes version.

Thanks

Hi.
1.
engine.disableManifestCheck = true;
And this is for disable storing into db
BABYLON.Database.IDBStorageEnabled = false;
2. I don;t know if I understood, but I think it is doing actually this. It’s checking manifest content if content changed then is loading again the file.

1 Like

Thanks @MarianG
This help me a lot

What I want to do is check the version of real database (all objects and meshes ) if the version is changed then check each file with manifest if not nothing will happen , so i think it will be good idea to make one request nested of requests for each object every time.

If you update version number inside manifest file when you update your object and save to DB, then on load it should take the latest version of mesh.

1 Like

More info: Optimize using Cached Resources - Babylon.js Documentation

1 Like