With Safari 18.5, included in macOS 15.5, Apple added Declarative Web Push, an updated method to deliver web-based push notifications even when a website isn't open. With Declarative Web Push,

With Safari 18.5, included in macOS 15.5, Apple added Declarative Web Push, an updated method to deliver web-based push notifications even when a website isn’t open. With Declarative Web Push, developers can display notifications without the need for a service worker, which preserves battery life for Web Push notifications.



Declarative Web Push is more energy efficient, and it’s also more private and easier for developers to implement. It does not rely on JavaScript, instead using a standardized JSON format that lets browsers directly display notifications without additional code.

Declarative Web Push isn’t subject to the same feature-breaking bugs and network issues as the standard web push, nor will anti-tracking prevention features disable it on websites that the user hasn’t visited in some time.

Apple says that Declarative Web Push is backwards compatible with browser engines that haven’t yet added support. End users do not need to do anything to see Declarative Web Pushes, as this is a behind-the-scenes feature for developers to implement.

Apple previously added support for Declarative Web Push on iPhone and iPad with the iOS 18.4 and iPadOS 18.4 updates. More information is available on Apple’s WebKit blog.

Safari 18.5 is included in macOS 15.5, but the browser update is also available for Macs that are still running macOS Sonoma and macOS Ventura.

Related Roundup: macOS Sequoia
Tag: Safari
Related Forum: macOS Sequoia

This article, "Safari Web Push Update in macOS 15.5 Will Save You Battery" first appeared on MacRumors.com

Discuss this article in our forums


You may also be interested in this

How to watch Apple’s WWDC…

Macworld Apple’s yearly Worldwide Developer Conference (WWDC) is a hugely important event, second in significance only to the company’s iPhone launch each fall. WWDC is important because, at the opening

Apple files emergency mot…

Apple has filed an emergency motion to halt the upcoming remedies trial by the Justice Department against Google, seeking a more significant role in the antitrust lawsuit. The motion was

Google paid Apple $18 bil…

The New York Times on Thursday reports that Alphabet-subsidiary Google paid Apple “around $18 billion” to be Safari’s default search engine in 2021. Nico Grant for The New York Times:

Why Apple’s dodgy deal wi…

A deal with Google that made a mockery of Apple's privacy promises is coming to an end. It should have never been made. (via Cult of Mac - Apple news,

Apple Releases Safari 17 …

Apple today released Safari 17, the newest version of the Safari browser. Safari 17 can be downloaded on macOS Monterey and macOS Ventura, and it brings some of the macOS

8 New Photo Features Comi…

Photography has become a staple use of the modern iPhone, and Apple isn't resting on its laurels in its efforts to advance what you can do with a photo in

How to make AppleInsider …

You've long been able to turn any website into an app on your Mac, but with macOS Sonoma, Apple has made it so easy that you're going to do it.

iPhones will be able to s…

Apple Personal Voice and Live Speech accessibility features. | Image: Apple Today, Apple previewed a bundle of new features designed for cognitive, vision, hearing, and mobility accessibility. That includes a
X

A whimsical homage to the days in black and white, celebrating the magic of Mac OS. Dress up your blog with retro, chunky-grade pixellated graphics to evoke some serious computer nostalgia. Supports a custom menu, custom header image, custom background, two footer widget areas, and a full-width page template. I updated Stuart Brown's 2011 masterpiece to meet the needs of the times, made it responsive , got dark mode, custom search widget and more.You can download it from tigaman.com, where you can also find more useful code snippets and plugins to get even more out of wordpress.