Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by cbsmith on Monday March 18, 2024 @06:51PM
(#39751007)
I thought it was more that the Document object had to stay alive. ...although, these days a lot of mobile browsers will kill that thing off if the page is not in the background, so yeah...
Web Push is a distinct API for browsers to emulate native push notifications via service workers. https://developer.mozilla.org/en-US/docs/Web/API/Push_API