Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Periodic Background Sync
Search
Jxck
April 17, 2020
Technology
690
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Periodic Background Sync
LT about periodic background sync at #remo_study
Jxck
April 17, 2020
Transcript
18 slides
Periodic Background Sync Periodic Background Sync
None
Background Sync self.on('sync', (e) => { // retry failed request
while // offline in background })
Periodic Background Sync self.on('periodic-sync', (e) => { // periodically refresh
contents // up to date in background. })
Use Case - Podcast Feed Update
// register PBS const name = 'periodic-background-sync' const status =
await navigator.permissions.query({name}) if (status.state === 'granted') { await registration.periodicSync.register('refresh', { minInterval: 12 * 60 * 60 * 1000 // 12h }) }
Security Consideration
#4: 156.74.xxx.xxx #1: 14.102.xxx.xxx #2: 81.177.xxx.xxx #3: 24.152.xxx.xxx Background Sync
Tracking also • crypto mining • bot net
Known Network
Permission In Chrome
Permission Model Permission Dialog ? User Gesture ? Feature Policy
? Add to Home Screen !!
Native App Permission -> Install Web App Permission -> Install
Restriction In Chrome
• Periodic depends on site-engagement. • Only fire under known
network.
Site Engagement
Periodic Background Sync enables... • Installed App via A2HS •
Enough Site-Engagement • Connected to Known Network • Android Chrome only
Work in progress...
None
More Decks by Jxck
See All by Jxck
IE Graduation (IE の功績を讃える)
jxck
22
17k
IE Graduation Certificate
jxck
6
6.3k
RFC 9111: HTTP Caching
jxck
1
860
tc39_study_2
jxck
1
14k
IETF における ABNF とプロトコルパーサの話 / ABNF for Protocol Parser @ IETF
jxck
2
1.3k
Web Components 元年 v3 / Web Components first year v3
jxck
1
1.2k
Podcast over PWA
jxck
1
400
Yearly Web 2019
jxck
0
270
webbundle_study
jxck
2
750
Other Decks in Technology
See All in Technology
技術書典で本を売る流れ
yoshimura_datam
0
200
VTuberになってみた話
yoshimura_datam
0
120
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
320
NutanixへのSSHアクセスの今後について
shadowhat
0
190
FPGAでアクティブセンシングがやりたくてカメラモジュールを自作した話
ryuz88
0
140
kubellの最新データ分析環境
kubell_hr
2
280
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
180
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
480
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
640
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
150
現地速報! Microsoft Ignite アップデートレポート
kasada
1
720
データから見る AI時代のエンジニア転職と採用
junya_okura
4
1.4k
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
The agentic SEO stack - context over prompts
schlessera
0
1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
690
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
Chasing Engaging Ingredients in Design
codingconduct
0
410
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Making Projects Easy
brettharned
120
6.9k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
590
Building an army of robots
kneath
307
47k
Un-Boring Meetings
codingconduct
0
510
Ethics towards AI in product and experience design
skipperchong
2
470