Improves content loading performance by only fetching single raw blocks from an IPFS gateway instead of attempting to load the entire DAG.
Media objects are cached heavily in the browser. I suggest clearing your browser cache and local storage for better testing. This currently will attempt to retrieve content from IPFS first, and fallback to a public IPFS gateway after a timeout. A future task should be to improve loading from IPFS. The media gallery also seems to freeze when trying to load a new item. We should investigate some better ways to use model viewer in this scenarios (https://modelviewer.dev/examples/loading/).
Checklist:
[x] My commit message follows the Conventional Commits specification
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my code
[x] My changes generate no new warnings
[x] My PR is rebased off the most recent main or appropriate feature branch
[x] My PR is opened against the main or appropriate feature branch
Description
Improves content loading performance by only fetching single raw blocks from an IPFS gateway instead of attempting to load the entire DAG.
Media objects are cached heavily in the browser. I suggest clearing your browser cache and local storage for better testing. This currently will attempt to retrieve content from IPFS first, and fallback to a public IPFS gateway after a timeout. A future task should be to improve loading from IPFS. The media gallery also seems to freeze when trying to load a new item. We should investigate some better ways to use model viewer in this scenarios (https://modelviewer.dev/examples/loading/).
Checklist:
main
or appropriate feature branchmain
or appropriate feature branchAlert Reviewers
@tnrdd @gravenp