Track URLs that failed to load because gateway was down. #1097
Labels
effort/days
Estimated to take multiple days, but less than a week
exp/intermediate
Prior experience is likely helpful
kind/maintenance
Work required to avoid breaking changes or harm to project's status quo
P1
High: Likely tackled by core team if no one steps up
Is your feature request related to a problem? Please describe.
As part of #1092, we now have capability to reload the pages that failed to load because the gateway was offline. The check involves matching tab titles to validate if the page has content or did it fail. While this works, it won't work with non-english browsers or break in the future because the browsers could change the wording. I would like to improve the functionality to something like what @lidel suggested in the thread.
Describe the solution you'd like
onErrorOccurred
fromsrc/lib/ipfs-request.js
.isRecoverableViaOnlineApi
which stores failed requests to local gateway in a cache similar toerrorInFlight
.Describe alternatives you've considered
An implementation using title matching has been provided in #1092.
Additional context
Additional tasks
.ipns.localhost:8080
and for.ipfs.localhost:8080
The text was updated successfully, but these errors were encountered: