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

5 secret tips and tricks …

These Safari tips will help you browse the web faster, clean up your experience and restore tabs you accidentally close. (via Cult of Mac - Apple news, rumors, reviews and

iOS 18 said to add a slew…

iPhone 15 Pro and iPhone 15 Pro Max Apple is widely expected to show off iOS 18 during its June 10th WWDC keynote, including new features for many apps, including

Apple WWDC 10 biggest ann…

Screenshot by Sean Hollister / The Verge This year’s Worldwide Developers Conference didn’t disappoint. During today’s keynote, Apple showed off its highly anticipated mixed reality headset for the first time,

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.

Use Safari Quick Website …

There are several ways to search the web in Apple's Safari browser. In this article, we're going to highlight a way of searching specific websites using a lesser-known Safari feature

MacDailyNews presents liv…

MacDailyNews presents live notes from Apple’s Q223 Conference Call with analysts starting at 2pm PDT / 5pm EDT today, May 4, 2023. This stream is best experienced on an iPhone

Safari Changes on iOS 26 …

One of the key changes to Safari on iOS 26 is a redesigned Liquid Glass address bar, with three layouts available to choose from. Beyond that, the upcoming software update

If Apple wants its headse…

Illustration by Hugo Herrera for The Verge If Apple’s mixed reality headset is going to succeed, it’s going to be because of the apps. On Monday, Apple will take the
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.