Skip to content

Cache events #85

Description

@michaelhall923

This is contingent on there being a localStorage cache adapter for NDK.

Local Storage

  • Cache profiles
  • Cache notes

In Memory

  • Cache profiles
  • Cache notes

NDKCacheAdapter:
https://github.com/nostr-dev-kit/ndk/blob/master/src/cache/index.ts

Example implementation (Redis):
https://github.com/nostr-dev-kit/ndk-cache-redis/blob/master/src/index.ts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions