Periodic background sync

Yesterday I wrote about how much I’d like to see silent push for the web:

I’d really like silent push for the web—the ability to update a cache with fresh content as soon as it’s published; that would be nifty! At the same time, I understand the concerns. It feels more powerful than other permission-based APIs like notifications.

Today, John Holt Ripley responded on Twitter:

hi there, just read your blog post about Silent Push for acthe web, and wondering if Periodic Background Sync would cover a few of those use cases?

Periodic background sync looks very interesting indeed!

It’s not the same as silent push. As the name suggests, this is about your service worker waking up periodically and potentially fetching (and caching) fresh content from the network. So the service worker is polling rather than receiving a push. But I’ll take it! It’s definitely close enough for the kind of use-cases I’ve been thinking about.

Interestingly, periodic background sync also ties into the other part of what I was writing about: permissions. I mentioned that adding a site the home screen could be interpreted as a signal to potentially allow more permissions (or at least allow prompts for more permissions).

Well, Chromium has a document outlining metrics for attempting to gauge site engagement. There’s some good thinking in there.

Have you published a response to this? :

Responses

CSS-Tricks

Periodic background sync adactio.com/journal/16043 (Notes from @adactio) > It’s not the same as silent push. As the name suggests, this is about your service worker waking up periodically and potentially fetching (and caching) fresh content from the network.

# Posted by CSS-Tricks on Wednesday, October 30th, 2019 at 11:17pm

1 Like

# Liked by Clout chaser on Tuesday, October 29th, 2019 at 6:35pm

Previously on this day

2 years ago I wrote The meaning of AMP

Google’s alternative facts.

3 years ago I wrote Assumptions

Mobile hardware isn’t all that it seems.

9 years ago I wrote Listening

Music to build websites to.

13 years ago I wrote Laid low

Joyous guitar.

13 years ago I wrote Beautiful hackery

An API-driven text adventure, accessible train times and hackable URLs; oh, yes.

14 years ago I wrote Flickrism

Back in July, a Flickr member posted a photoset of a commercial he was working on. The spot involved the release of 250,000 superballs down a hill in San Francisco. Other Flickrites also documented the release.

15 years ago I wrote Anger is an energy

Last year BBC Radio One came to Brighton and organised a week of live music. This year, there’s no sign of auntie Beeb but local promoters have organised a week of music anyway.

17 years ago I wrote Apple - iMac

The deed is done. I just placed an order at the Apple store for a 17 inch iMac.