[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"term-s\u002Fsse":3,"related-s\u002Fsse":58},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":51,"sitemap":52,"stem":55,"subcategory":56,"__hash__":57},"terms\u002Fterms\u002Fs\u002Fsse.md","SSE","Server-Sent Events",{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"SSE is just the abbreviation for Server-Sent Events. Same thing — the server streams updates to you over a persistent connection. You've seen this if you've used ChatGPT: those words appearing one by one are SSE messages streaming from the server.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"SSE is the abbreviated form of Server-Sent Events. The EventSource API is the browser interface for consuming SSE. It automatically handles reconnection with a Last-Event-ID header. Supported natively in all modern browsers without extra libraries.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"The AI response uses SSE to stream tokens.\" \u002F \"EventSource is the browser API for consuming SSE.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"backend","SSE is just the abbreviation for Server-Sent Events. Same thing — the server streams updates to you over a persistent connection.","intermediate","md","s",{},true,"\u002Fterms\u002Fs\u002Fsse",[6,49,50],"WebSocket","Long Polling",{"title":5,"description":41},{"changefreq":53,"priority":54},"weekly",0.7,"terms\u002Fs\u002Fsse",null,"Q2Oik5Ae42ERSSSJFgaoOyEG6BOt1G84P5Be6kwtZzE",[59,62,65],{"title":50,"path":60,"acronym":56,"category":40,"difficulty":42,"description":61},"\u002Fterms\u002Fl\u002Flong-polling","Long polling is a hack to fake real-time updates before WebSocket existed. Your client asks 'any new messages?",{"title":6,"path":63,"acronym":56,"category":40,"difficulty":42,"description":64},"\u002Fterms\u002Fs\u002Fserver-sent-events","Server-Sent Events (SSE) is like subscribing to a news feed from the server.",{"title":49,"path":66,"acronym":56,"category":67,"difficulty":42,"description":68},"\u002Fterms\u002Fw\u002Fwebsocket","networking","WebSocket is like upgrading a walkie-talkie from push-to-talk to a full phone call.",1776518310337]