You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The browser will currently always download assets for Model Viewer from some configurable IPFS gateway. This is because Model Viewer needs to be given a src attribute with the location of the GLB file.
There are cases when loading an asset from a local IPFS node would be better. This may be a better route than using a public gateway if the asset is already stored locally. This could either be done:
The browser will currently always download assets for Model Viewer from some configurable IPFS gateway. This is because Model Viewer needs to be given a
src
attribute with the location of the GLB file.There are cases when loading an asset from a local IPFS node would be better. This may be a better route than using a public gateway if the asset is already stored locally. This could either be done:
js-ipfs
node is running in browser and has the content. Can be fetched via a service worker running a gateway. See https://github.com/ipfs-examples/js-ipfs-browser-service-workeripfs-provider
is using an HTTP clientThe browser also appears to cache assets using normal HTTP caching. So it is unclear how much benefit this approach would really have.
The text was updated successfully, but these errors were encountered: