Question about optimizeCached

Hi everyone~
I have a requirement about optimizeCached. I have some questions about it:

  1. Does BBL’s optimizeCached support .glb file.
  2. If support, should I create manifest files for each glb files?
  3. How to recognize if file is loaded from indexDB and not web?
    Looking forward your reply :grin:

I find Babylon check manifest in SceneLoader.importMesh => _loadData , I will test tommorow :grinning:

indexDB does not support glb files, unfortunately, see Is the indexdb caching can store only one model in a scene? and Modernize IndexedDB · Issue #11816 · BabylonJS/Babylon.js · GitHub.

2 Likes