KamoCRM

Improve chat message loading performance

Performancekamo-internal
ส่งแล้ว
12 มีนาคม 2569 เวลา 02:19 UTC
ผู้เขียน
kamo
ตั้งค่า
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

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทั้งหมดของมันมาถึง ในที่ทํางานของคุณเอง เริ่มที่แผนฟรี และอ่านหน้านี้อีกครั้งในเดือน.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์