Today I Learned

Daily reflections on work and learning—what I did and what I learned.

20266

2026-06-28

WebSocket Streaming and LCP Improvement

Measurement, UI, and resource priority learned while streaming partial agent responses and improving landing LCP in parallel

  • You can stream partial results over WebSocket as well.
  • The priority of the LCP resource has a large impact on the actual metric.
2026-06-27

WebSocket Streaming Experiment

What I learned from WebSocket handshake/reconnect/heartbeat design and observing streaming timing

  • Heartbeats must be designed with the cost of keeping the connection alive in mind.