Skip to content
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

feat: add cache control to IPNS #473

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Commits on Mar 16, 2024

  1. feat: add cache control to IPNS

    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.
    
    - `nocache` will skip the datastore and use the routing.
    - `offline` only uses the datastore and skips the routing.
    achingbrain committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    afa9785 View commit details
    Browse the repository at this point in the history
  2. chore: add missing dep

    achingbrain committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    259fd98 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. chore: apply suggestions from code review

    Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
    achingbrain and 2color authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    0539d9e View commit details
    Browse the repository at this point in the history