Is it possible to use IndexedDB to improve the loading speed of secondary renders?
I'm developing a 3d project using playcanvas, if I want to increase the rendering speed in the second rendering, is it possible to store the glb parsed data into IndexedDB, then in the second loading, instead of requesting the model data, I can directly pull out the stored parsed data from indexedDB for rendering.
I'm developing a 3d project using playcanvas, if I want to increase the rendering speed in the second rendering, is it possible to store the glb parsed data into IndexedDB, then in the second loading, instead of requesting the model data, I can directly pull out the stored parsed data from indexedDB for rendering.
You should use proper headers for appropriate caching policy. For all static assets, it is recommended to rely on asset.file.hash, and provide strong caching, so it won't even make a network request, and load from the browser's local cache.
Closing as this is not work request for the engine nor a bug. Perhaps post on the forum to get additional advice: https://forum.playcanvas.com/ @declanchiu