What is Server-Sent Events?
A server push technology that enables a server to send real-time updates to a browser over a single HTTP connection.
SSE provides a simple, unidirectional channel from server to client. The server sends events as text/event-stream content type. The browser uses EventSource API: const source = new EventSource('/events'); source.onmessage = e => console.log(e.data).
SSE is simpler than WebSockets for one-way communication (notifications, live feeds, stock tickers). It supports automatic reconnection, event IDs for resume, and named events. SSE uses standard HTTP, working through firewalls and proxies without special configuration.