Global Feed Post Login
Replying to Avatar verbiricha

Once you start supporting NIP-19 it becomes a bit tricky. Are you using a local DB? You can still pre-populate it with the events you use in the storybook/tests and don't hit the relays at all. NDK supports caching policies such as NDKSubscriptionCacheUsage.ONLY_CACHE or NDKSubscriptionCacheUsage.CACHE_FIRST that make this relatively easy.

Avatar
DanConwayDev 1y ago

Its about time to add caching. CACHE_FIRST sounds ideal

Reply to this note

Please Login to reply.

Discussion

No replies yet.