[P6] feat: add Redis client with cache-aside helpers

↗ view on GitHub · Dshamir · 2026-05-23 · 6363aee8

Install ioredis and create redis.ts with lazy-connect client,
cacheGet/cacheSet/cacheDelete helpers for cache-aside pattern.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository Dshamir/AI-Legal
Author Dshamir <dshamir@blucap.ca>
Authored
Parents 9485e7d9
Stats 3 files changed , +1657 , -16
Part of Redis caching, HTTP cache headers, and encryption key rotation

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-6363aee8.md from inside the repo you want the change in.

⬇ Download capture-commit-6363aee8.md