feat(redis): migrate query cache to Hash storage for bulk SSR reads

Replace individual Redis keys (queryCache:sha256(...)) with a Hash per
user+board (qc:{userId}:{boardId}). This enables HGETALL to read all
cached entries in a single call for server-side hydration. Remove unused
SHA256 hashKey function and createHash import.
This commit is contained in:
Thomas Camlong committed 2026-05-29 17:25:46 +02:00
1 parent b65eef08ea
commit 6c623a3a2d
2 files changed
+45

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ export {
handshakeAsync,
createSubPubChannel,
createGetSetChannel,
createQueryCacheChannel,
getAllQueryCacheAsync,
} from "./lib/channel";
export { createIntegrationHistoryChannel } from "./lib/channels/history-channel";