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
PWAmps for the mobile web
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Adora Nwodo
May 04, 2019
Technology
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PWAmps for the mobile web
Adora Nwodo
May 04, 2019
More Decks by Adora Nwodo
See All by Adora Nwodo
Harnessing the Power of AI in Open-Source Cloud Engineering
adoranwodo
2
340
Getting Started With Data Structures
adoranwodo
1
490
StereoKit: The Open Source SDK for VR/MR
adoranwodo
0
200
Accessibility in the context of Mixed Reality
adoranwodo
0
98
Skills to Excel in Cloud Engineering
adoranwodo
0
470
The Opportunities In The Decade Of Mixed Realities
adoranwodo
0
120
7 Habits of Highly Effective Engineering Teams
adoranwodo
0
220
Designing secure cloud applications
adoranwodo
0
230
Building a sustainable personal brand
adoranwodo
0
170
Other Decks in Technology
See All in Technology
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
LLMにもCAP定理があるという話
harukasakihara
0
300
Claude Code の Sandbox 機能を Anthropic Sandbox Runtime(srt) で試そう!/lets-play-anthropic-sandbox-runtime
tomoki10
1
550
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
120
Android の公式 Skill / Android skills
yanzm
0
130
自宅LLMの話
jacopen
1
430
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
860
EventBridge Connection
_kensh
5
700
Agentic Web
dynamis
1
200
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
370
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development with AI-DLC
yoshidashingo
0
170
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
4 Signs Your Business is Dying
shpigford
187
22k
Odyssey Design
rkendrick25
PRO
2
690
Test your architecture with Archunit
thirion
1
2.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
390
A Modern Web Designer's Workflow
chriscoyier
698
190k
YesSQL, Process and Tooling at Scale
rocio
174
15k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
610
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
Transcript
Progressive Web AMPs for the mobile web
Software Engineer GDG Ajah Co-Organizer Women Techmakers Ajah Ambassador FSD
Lagos Co-Organizer Blogger, adorahack.com Twitter, @theadoranwodo GitHub, @adoranwodo Hi, I’m Adora 2
3 INTRODUCTION
4 2009 2019
5
6 Old New 600 kb 3 mb
7
8 Progressive Web Apps & Accelerated Mobile Pages Individually
Progressive Web Apps Progressive web apps combine the flexibility of
the web with the experience of mobile applications. 9
Progressive Web Apps Reliable Fast Engaging 10
Accelerated Mobile Pages Accelerated Mobile Pages solve the problem of
slow-loading mobile pages. 11
Accelerated Mobile Pages 12 Web page speed improves user experience
Maintain flexibility and control and reduce code complexity Easy to get started!
13 <amp-img alt="A view of the sea" src="images/sea.jpg" width="900" height="675"
layout="responsive"> </amp-img> AMP tags <amp-accordion disable-session-states> <section> <h2>Section 1</h2> <p>Content in section 1.</p> </section> <section> <h2>Section 2</h2> <div>Content in section 2.</div> </section> <section expanded> <h2>Section 3</h2> <amp-img src="images/squirrel.jpg" width="320" height="256"></amp-img> </section> </amp-accordion> <amp-image-lightbox id="lightbox1" layout="nodisplay"> </amp-image-lightbox>
14 Image from https://instapage.com/blog/pwa-vs-amp
15 PWA + AMP
Main element of a PWA? The service worker 16
17 Service workers are great, but they don’t help your
first page run fast.
AMP up Background bootstrapping of PWA shell while the user
interacts with the AMP (first) page using <amp-install-serviceworker>. PWA + AMP AMP down Using AMP pages as a data source for PWAs. 18
19 Fetch cached PWA shell instead of cached AMP page
to prevent XHR to find AMP doc. AMP down contd.
20
21 MORE ON PWAMPs
◉ Your website has a lot of static content on
individual pages ◉ To reduce infrastructure complexity ◉ If your content monetizes and works fine within the AMP ecosystem 22 When to use PWAMPs
◉ Discovery on Search engines (Google & Bing) ◉ Fast
first impression ◉ Fast page navigation ◉ Rich interactions and features ◉ Easy re-entry 23 PWAMP Benefits
24 PWAMP RESOURCES
https://codelabs.developers.google.com/codelabs/amp-pwa-workbox/#3 https://amp.dev/documentation/guides-and-tutorials/learn/combine-amp-pwa 25
26
◉ Blog: adorahack.com ◉ Website: adoranwodo.com ◉ Twitter: @theadoranwodo ◉
GitHub: @adoranwodo Thanks! 27