IPNS prefetching #643
Labels
status/blocked/missing-api
Blocked by missing API
status/blocked/upstream-bug
Blocked by upstream bugs
status/blocked
Unable to be worked further until needs are met
status/deferred
Conscious decision to pause or backlog
I don't know how tricky this may be, but go-ipfs 0.4.18 has
--stream
flag foripfs name resolve
which makes it return names as they are discovered. It has some nice properties - names returned later are guaranteed to be 'better' (newer), last name returned before the stream is closed is always what would be returned by normalipfs name resolve
. This makes initial name discovery much, much faster, usually less than 1s from my testing.When user goes to
/ipns/Qm..
path, companion could try to callipfs name resolve --stream
instead going directly to the gateway and prefetching/start displaying stuff in something like a sandboxed iframe (if something like this exists)The text was updated successfully, but these errors were encountered: