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

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

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

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

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