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

original link


You may also be interested in this

macOS Sonoma Tidbits: New…

The first macOS Sonoma beta was released to developers and early adopters this week, and changes in the newest version of Apple's macOS operating system are still being unearthed. Below

How to improve security i…

Private Browsing mode in Apple Safari will soon get even more secure with a collection of new features on the way. Here’s how to use them. (via Cult of Mac

Safari 17 in macOS Sonoma…

Private Browsing protects against prying eyes online and off, Profiles helps organize your browsing life and you can make website into apps. (via Cult of Mac - Tech and culture

Craig Federighi outlines …

Along with the software and hardware announcements at WWDC, Apple executive Craig Federighi emphasized the company's ongoing commitment to privacy, exemplified by features such as "Check In," and why he

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 Safari is once ag…

Safari is Apple’s web browser that comes pre-installed on every Mac, iPhone, and iPad. Even so, it lost the second place to Microsoft Edge in the ranking of the world’s

iOS 17 guide: iPhones rum…

Macworld Each year Apple releases a major update for iOS, the operating system on your iPhone. The current version, released last year, is iOS 16, and it doesn’t take a

Apple IDs now support pas…

Apple IDs now support passkeys, but only in betas for iOS 17, iPadOS 17, and macOS Sonoma. | Illustration: The Verge It appears that passkeys are now supported for Apple
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.