Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Enable preload on MFS commands that accept IPFS paths #2335

Closed
@alanshaw

Description

@alanshaw

Some MFS commands accept IPFS paths as input. When IPFS paths are passed, we should send a preload request so that the content can be retrieved.

Notably, the CID resolver in ipfs-http-response switched to using ipfs.files.stat instead of ipfs.object.stat (ipfs/js-ipfs-http-response#19). This means that a JS IPFS gateway currently does not send preload requests and so is useful only for fetching content the node or the preload nodes already have in their repo.

cc @lidel @achingbrain @vasco-santos

Metadata

Metadata

Assignees

Labels

P1High: Likely tackled by core team if no one steps upkind/bugA bug in existing code (including security flaws)status/readyReady to be worked

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions