Does the latest version of babylon.js no longer support indexDB caching of glb models? Previously, I used version 6.19.0, which can cache glb models. When I tested the upgrade of babylon.js today, I found that the previous cache is no longer effective. You can see a specific example hereUnable to cache. There is a corresponding .manifest file in the directory where the glb model is located. This is where the model and version files are storedGitHub
Checking…
ok we added a bit more of constraints:
Unable to cache | Babylon.js Playground (babylonjs.com)
Relevant code:
BABYLON.Database.IDBStorageEnabled = true;
engine.enableOfflineSupport = true;
3 Likes
How did I remember that bbl could only cache .babylon files in indexDB and not.glb files? Did I misremember or did the new version update this feature?
glb can be cached, but the .manifest file is not effective and the glb cached version cannot be updated through .manifest
Yes, I got it wrong, but I wrote a cache code to cache the data after SceneSerializer
I can see from your example that the cache is an arrayBuffer, which should be fine, because the arrayBuffer still needs to be parsed. But the size is much smaller than the SceneSerializer