-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dir-index-html: add indicator if CID is cached in local datastore #8817
Comments
This is a sensible request.
|
seems fair. It would also help with the "pinned content visibility" issues found in other issues. It's a bit spread out, but would be a workaround for those. Also, yeah.. it does sound potentially a bit expensive... so some care would be needed. If it was too expensive theoretically it could be used as an abuse mechanism (hammering a gateway for the availability of a complex recursive CID) |
If i understand correctly this issue does not belong in this repository, the changes need to happen to:
I would love to take a look at it! |
I am moving this issue to go-ipfs repo. Caveat: generating static HTML is expensive, and we want to cache it for as long as possible, have per-release static If you are interested in moving this forward I'd look at #8783 If we have it, then static HTML page for dir listing could do JS |
@lidel i have a couple of questions before i open a PR. You can see my changes here.
|
@xrazis thank you for poking at this! Feel free to open a PR, we can continue there, but for now quick feedback here:
|
Is your feature request related to a problem? Please describe.
As a user of IPFS, it's difficult to visualize if files are cached on the gateway you're connected to vs if the files need to be retrieved from the network.
Describe the solution you'd like
An indicator to show if a CID is cached on the current gateway.
Example (horrible) mock up:
The first three entries are cached on the gateway, the final one would require pulling from other IPFS nodes. Three indicators may be needed:
The text was updated successfully, but these errors were encountered: