Client
Client copied to clipboard
Cache events
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