KamoCRM

Improve chat message loading performance

Performancekamo-internal
Shipped
12 மார்ச், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing