Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Progressive Web Apps on Rails
Search
Ross Kaffenberger
September 22, 2016
Technology
0
2.3k
Progressive Web Apps on Rails
Talking about "Why Progressive Web Apps?" and how you can start building them on Rails
Ross Kaffenberger
September 22, 2016
Tweet
Share
More Decks by Ross Kaffenberger
See All by Ross Kaffenberger
Getting Lazy with Vue and PDFs
rossta
2
1.5k
A Webpack Survival Guide for Rails Developers
rossta
1
2.6k
What I look for in a Junior Developer
rossta
2
1.1k
Enumerable's Ugly Cousin - GORUCO Microtalk
rossta
0
410
Enumerator - Enumerable's Ugly Cousin
rossta
1
540
Recurring Events with Montrose
rossta
3
2k
Enumerable - How I Fell in Love with Ruby
rossta
20
4.7k
Create and Deploy an Ember App in 5 Minutes
rossta
7
3.7k
Other Decks in Technology
See All in Technology
AI駆動開発ライフサイクル(AI-DLC)の始め方
ryansbcho79
0
280
自己管理型チームと個人のセルフマネジメント 〜モチベーション編〜
kakehashi
PRO
2
350
Knowledge Work の AI Backend
kworkdev
PRO
0
340
Everything As Code
yosuke_ai
0
460
"人"が頑張るAI駆動開発
yokomachi
1
670
[2025-12-12]あの日僕が見た胡蝶の夢 〜人の夢は終わらねェ AIによるパフォーマンスチューニングのすゝめ〜
tosite
0
230
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
170
TED_modeki_共創ラボ_20251203.pdf
iotcomjpadmin
0
190
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
0
570
Bedrock AgentCore Evaluationsで学ぶLLM as a judge入門
shichijoyuhi
2
310
小さく、早く、可能性を多産する。生成AIプロジェクト / prAIrie-dog
visional_engineering_and_design
0
280
LayerX QA Night#1
koyaman2
0
300
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
100
sira's awesome portfolio website redesign presentation
elsirapls
0
99
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
34
Abbi's Birthday
coloredviolet
0
4k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
140
Highjacked: Video Game Concept Design
rkendrick25
PRO
0
260
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
380
Into the Great Unknown - MozCon
thekraken
40
2.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
89
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
880
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Transcript
Progressive Web Apps on Rails Ross Kaffenberger @rossta
Native > Web Reliable Independent of connectivity Works offline Sync-able
Installable Re-engageable
Web > Native Responsive Write once, Run everywhere* Fresh Linkable
Discoverable Fast first-visit
Best of both worlds (on the web) Progressive Web Apps
None
None
Service Worker •Event driven •Worker context •No DOM access
Service Worker •Intercept requests •Access to cache, IndexedDB, etc. •Send
push notifications •Sync with server in background
Service Worker
Service Worker
Service Worker •HTTPS only •Scoped by URL, e.g. /serviceworker.js /admin/serviceworker.js
Service Worker on Rails Problem: Making Service Worker scripts work
with the asset pipeline GET /serviceworker.js
Service Worker on Rails gem “serviceworker-rails” •Serves pipeline assets from
canonical urls •Customizes response headers
Service Worker on Rails
Service Worker on Rails Sandbox
github.com/hemanth/ awesome-pwa github.com/TalAter/ awesome-service-workers
github.com/rossta/ serviceworker-rails
@rossta rossta.net Ross Kaffenberger