Improve chat message loading performance

Performancekamo-internal
Shipped
March 12, 2026 at 2:19 AM UTC
Author
kamo
Commit
80db36d

- Cache getCurrentMemberId() result in a ref to avoid repeated /api/user-info calls on every WebSocket message and typing indicator - Parallelize message history fetch and user-info fetch with Promise.all, reducing initial load latency - Remove per-message console.log inside .map() (was firing 100 times per load) - Remove full message payload dumps from proxy route logs

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing