News for hackers. Stuff that matters.
Re:New WebKit features in Safari 15.4 by kitsunesoba on Monday March 14, 2022 @09:09PM (#30680650)
Doesn’t supporting web push notifications involve having worker processes running in the background all the time to poll or keep a socket open for updates? I could see that dragging down battery life if one has notifications for more than just a small handful of PWAs enabled.
Re:New WebKit features in Safari 15.4 by rabuse on Tuesday March 15, 2022 @01:27AM (#30681938)
Native apps already do this...
Re:New WebKit features in Safari 15.4 by Nextgrid on Tuesday March 15, 2022 @05:20AM (#30683210)
Disagreed; they don't. They delegate messaging to the Apple Push Notification service which is a single process that maintains a persistent connection (and receives messages on behalf of apps). Apps only get woken up when a notification actually arrives.