Global Feed Post Login
Replying to Avatar PABLOF7z

Fresh of the press! I just published a new package:

NDK Sqlite WASM cache adapter

* supports all the basics of an ndk cache adapter +

+ automatic unpublished event tracking

* optional decrypted event caching (so you don't need to bother your users with decrypting the same content over and over, particularly useful for NIP-60 wallets and encrypted bookmarks)

* automatically loads the required WASM

https://nostr-dev-kit.github.io/ndk-cache-sqlite-wasm/docs/INDEX.html

cc nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqyw8wumn8ghj7mn0wd68ytnzd96xxmmfdejhytnnda3kjctvqqs9njktmqadt322myw6eag6f8qxuzl0wv9vpe7zxkn0d73fhy3s7qsm2hcm4

Avatar
the axiom 8mo ago

using indexeddb or?

Reply to this note

Please Login to reply.

Discussion

Avatar
PABLOF7z 8mo ago

Yeah, serializes and persists to indexdb

Avatar
the axiom 8mo ago

why is that better than using indexed db directly?

Avatar
PABLOF7z 8mo ago

indexdb is slow as hell; this is only using indexdb for data persistence

Thread collapsed
Thread collapsed
Thread collapsed