# IDBStorageEnabled useless in not static assets

**URL:** https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765
**Category:** Bugs
**Tags:** gltffileloader
**Created:** [October 13, 2022, 9:16am UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765 "2022-10-13T09:16:42Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![HouLingLXH](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/houlinglxh/32/14545_2.png) [@HouLingLXH](https://forum.babylonjs.com/u/HouLingLXH)
#### Post date: [October 13, 2022, 9:16am UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/1 "2022-10-13T09:16:42Z")

</div>

When I use “Database.IDBStorageEnabled = true” to load gltf from obs server, I found it will not load textures from database, and save some blob file repeatedly.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/d/edd86724c310a909eac84852e1358e9767de45e1.png)

But the static asset in project can be loaded from catch(but also save some blob file repeatedly).

---

<div class="post-metadata">

### Author: ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)
#### Post date: [October 13, 2022, 2:35pm UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/2 "2022-10-13T14:35:51Z")

</div>

cc @RaananW

---

<div class="post-metadata">

### Author: ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)
#### Post date: [October 13, 2022, 2:36pm UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/3 "2022-10-13T14:36:36Z")

</div>

What version of babylon are you using? AFAIK this should have been resolved already

\*\* EDIT - the “resolved” part in the blob-storage. it makes no sense storing the blobs in the IDBStorage, as they keep on changing. Now, about the model and images not loaded from the database - the model itself has the images integrated in it. Which means that when you load the model you also load the textures. If the model itself is cached, the textures are cached as well.

---

<div class="post-metadata">

### Author: ![HouLingLXH](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/houlinglxh/32/14545_2.png) [@HouLingLXH](https://forum.babylonjs.com/u/HouLingLXH)
#### Post date: [October 13, 2022, 11:50pm UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/4 "2022-10-13T23:50:48Z")

</div>

version 4.2.1

> **[Babylon.js Playground](https://playground.babylonjs.com/#4Q98GT%234)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/0/70bd82e3f97582ba0a1eb2ad0aaa13e848d72f44.png)

Add one blob from .jpg Each time to refresh.

---

<div class="post-metadata">

### Author: ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)
#### Post date: [October 14, 2022, 4:48am UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/5 "2022-10-14T04:48:24Z")

</div>

It was fixed in future versions. Are you able to switch to 5?

---

<div class="post-metadata">

### Author: ![HouLingLXH](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/houlinglxh/32/14545_2.png) [@HouLingLXH](https://forum.babylonjs.com/u/HouLingLXH)
#### Post date: [October 14, 2022, 8:24am UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/6 "2022-10-14T08:24:34Z")

</div>

5.27 is worked。 4.2 will be fixed？

---

<div class="post-metadata">

### Author: ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)
#### Post date: [October 14, 2022, 8:33am UTC](https://forum.babylonjs.com/t/idbstorageenabled-useless-in-not-static-assets/34765/7 "2022-10-14T08:33:13Z")

</div>

the 4 branch is not being updated. since we are back-compat switching to 5.X should not require any changes in your app (to the most part).
