rspace-online/shared
Jeff Emmett 63ac2a268e perf: parallelize local-first init — batch IDB loads, cache crypto keys, preload sync states
Sequential document loading during init() was the main bottleneck: each cached
doc required a serial IDB read + key derivation + decryption + Automerge.load.
With N documents this meant N× single-doc latency instead of 1×.

Changes:
- Add loadMany() to EncryptedDocStore for parallel Promise.all() batch loading
- Cache derived space/doc CryptoKeys in DocCrypto (one derivation per session)
- Add preloadSyncStates() to DocSyncManager for parallel sync state loading
- Update all 11 module local-first-client init() methods to use batch APIs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:18:55 -08:00
..
components fix: normalize visibility enums + tab tracking across remaining files 2026-03-03 13:29:01 -08:00
db feat: Phase 5 — remove PostgreSQL from rForum, rSpace now fully PG-free 2026-03-02 16:25:26 -08:00
local-first perf: parallelize local-first init — batch IDB loads, cache crypto keys, preload sync states 2026-03-03 14:18:55 -08:00
x402 feat: add Gnosis Safe + EncryptID passkey wallet abstraction 2026-03-02 12:18:34 -08:00
module.ts feat: enhanced rinbox multisig approval UI, module landing pages, help guide 2026-03-02 22:05:08 -08:00
tab-cache.ts fix: extract inline <style> blocks in tab-cache for canvas toolbar rendering 2026-03-02 22:51:35 -08:00
url-helpers.ts feat: creative tools suite — 7 tools in unified canvas toolbar 2026-02-27 13:57:50 -08:00