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 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.

iOS 17 Tidbits: Enhanced …

With the release of the first iOS 17 beta in the hands of developers, early adopters continue to discover smaller changes in the new version of Apple's mobile operating system.

The Apple Store is down a…

Macworld When the Apple Store goes offline it’s usually an indication that Apple is about to launch a new product. There is no surprise that Apple has taken the store

5 reasons to use Safari i…

If you own a Mac, iPhone or iPad, you gain a lot by using Apple’s web browser, Safari, instead of Chrome. (via Cult of Mac - Tech and culture through

Safari 26 Beta Now Availa…

Apple today released the Safari 26 beta, allowing macOS Sequoia and macOS Sonoma users to download the browser and get the new Safari 26 features. Safari 26 adds support for

Apple’s new Distraction C…

Safari Distraction Control in iOS 18, iPadOS 18, and macOS Sequoia lets you remove irritations from web pages. But it's not an ad blocker. (via Cult of Mac - Apple

Hands on with Safari Prof…

With Profiles, Apple takes another swing at helping us organize open Safari browser tabs. Here’s what the upcoming feature has to offer. (via Cult of Mac - Tech and culture

Apple’s Ajax LLM to power…

Several of Apple’s standard system components are poised to get significant AI-related enhancements, powered by Apple’s forthcoming Ajax LLM with Siri, Safari, Messages, Mail, and Spotlight being first in line
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.