ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
812 stars 81 forks source link

feat: add cache control to IPNS #473

Closed achingbrain closed 3 months ago

achingbrain commented 3 months ago

Adds a nocache option when resolving IPNS records similar to when resolving DNSLink records.

The record will be resolved from the local datastore and returned if it is valid (e.g. non-expired, correct key, etc).

If the record is not present it will be fetched from the routing and stored in the local datastore if it is valid.

Change checklist