mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-03-13 09:59:06 +00:00
Document pauseOnBackground behavior and Last-Event-ID resumption Add a "Background Tab Behavior" section to the SSE extension docs explaining that messages are lost while the tab is backgrounded and how servers can use id: fields and Last-Event-ID to replay them. Includes a FastAPI + sse-starlette example. Add a test verifying that reconnection after a background pause sends the Last-Event-ID header and that the server can replay missed messages.