Client icon indicating copy to clipboard operation
Client copied to clipboard

Cache events

Open michaelhall923 opened this issue 1 year ago • 3 comments

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

Local Storage

  • [x] Cache profiles
  • [ ] Cache notes

In Memory

  • [x] 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

michaelhall923 avatar Jun 04 '23 17:06 michaelhall923