-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
620 lines (610 loc) · 26.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Progressive web apps</title>
<meta name="Description" content="Progressive Web App talk's slides">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#5B9BD5">
<link rel="icon" type="image/png" sizes="60x60 72x72" href="img/icons/icon-72x72.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/icons/icon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/icons/icon-192x192.png">
<meta name="twitter:site" content="@maxpou">
<meta name="twitter:title" content="Progressive web apps">
<link rel="stylesheet" href="reveal.js/css/reveal.css">
<link rel="stylesheet" href="css/bootstrap-grid.min.css">
<link rel="stylesheet" href="css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat" >
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'reveal.js/css/print/pdf.css' : 'reveal.js/css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
</head>
<body>
<div class="reveal">
<div class='footer'>
<a href="https://twitter.com/_maxpou"><i class="fa fa-twitter"></i> @_maxpou</a>
</div>
<div class="slides container">
<section>
<section>
<h2>Progressive Web Apps</h2>
<h3><i>Your web app on steroids</i></h3>
<p class="me-link">
Maxence Poutord - <a href="https://twitter.com/_maxpou"><i class="fa fa-twitter"></i> @_maxpou</a>
</p>
<p>DublinJS, Dublin, September 2018</p>
</section>
<section>
<h2>Slides, links, etc.</h2>
<h2><a href="https://www.maxpou.fr/speaking/">maxpou.fr/speaking/</a></h2>
</section>
</section>
<section>
<section>
<h2>Progressive Web Apps</h2>
<h3><i>Your web app on steroids</i></h3>
<p class="me-link">
Maxence Poutord - <a href="https://twitter.com/_maxpou"><i class="fa fa-twitter"></i> @_maxpou</a>
</p>
<p>DublinJS, Dublin, September 2018</p>
</section>
<section data-background="./img/theresAnAppForThat.jpg">
</section>
<section>
<h2>Native apps are <span class="fragment text-info-bold" data-fragment-index="1">"</span>doomed<span class="fragment text-info-bold" data-fragment-index="1">"</span></h2>
</section>
<section>
<div class="row">
<div class="col fragment" data-fragment-index="1">
<span class="number text-info">50%</span>
</div>
<div class="col fragment" data-fragment-index="2">
<span class="number text-info">80%</span>
</div>
<div class="col fragment" data-fragment-index="3">
<span class="number text-info">94%</span>
</div>
</div>
<div class="row">
<div class="col fragment" data-fragment-index="1">
<span class="number-legend">of all U.S. smartphone users download zero apps per month</span>
</div>
<div class="col fragment" data-fragment-index="2">
<span class="number-legend">of time spent is in users' top 3 apps</span>
</div>
<div class="col fragment" data-fragment-index="3">
<span class="number-legend">of revenue in the App Store comes from just <b>1%</b> of all publishers</span>
</div>
</div>
<aside class="notes">https://techcrunch.com/2017/08/25/majority-of-u-s-consumers-still-download-zero-apps-per-month-says-comscore/</aside>
</section>
<section>
<h2>App install friction</h2>
<img data-src="./img/step-loose-20-users.png" alt="">
</section>
<section>
<h2><img data-src="./img/emojis/wave2.png" class="emoji"> Retention</h2>
<p>More than 75% of App Downloads Open an App Once And Never Come Back</p>
<img data-src="./img/user-retention.png" alt="application retention" style="width: 80%;">
<p class="source"><a href="https://www.comscore.com/Insights/Presentations-and-Whitepapers/2017/The-2017-US-Mobile-App-Report?cs_edgescape_cc=US">Source: ComScore 2017 U.S. Mobile App Report</a></p>
<aside class="notes">http://fortune.com/2016/05/19/app-economy/</aside>
</section>
<section>
<h2>Do I really need an app for that?</h2>
<img data-src="./img/problem-native-app.png" alt="" style="width: 40%">
</section>
<section>
<h2><img data-src="./img/emojis/lift.png" class="emoji"> It's hard to reach new cusommers</h2>
<img data-src="./img/comscore-audience.png" alt="comscore audience web modile">
</section>
</section>
<section>
<section>
<h2>...but...</h2>
</section>
<section class="anim-chart">
<h2>Users time spent</h2>
<svg class="anim-svg circle-chart" viewbox="0 0 33.83098862 33.83098862" width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<circle class="circle-chart__background" stroke="#efefef" stroke-width="2" fill="none" cx="16.91549431" cy="16.91549431" r="15.91549431" />
<circle class="circle-chart__circle" stroke="#f2b862" stroke-width="2" stroke-dasharray="13,100" stroke-linecap="round" fill="none" cx="16.91549431" cy="16.91549431" r="15.91549431" />
<g class="circle-chart__info">
<text class="circle-chart__percent" x="16.91549431" y="16.5" alignment-baseline="central" text-anchor="middle" font-size="8" style="fill: #fff;">13%</text>
<text class="circle-chart__subline" x="16.91549431" y="23.5" alignment-baseline="central" text-anchor="middle" font-size="2" style="fill: #fff;">Mobile web</text>
</g>
</svg>
<svg class="anim-svg circle-chart" viewbox="0 0 33.83098862 33.83098862" width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<circle class="circle-chart__background" stroke="#efefef" stroke-width="2" fill="none" cx="16.91549431" cy="16.91549431" r="15.91549431" />
<circle class="circle-chart__circle circle-chart__circle--negative" stroke="#f2b862" stroke-width="2" stroke-dasharray="87,100" stroke-linecap="round" fill="none" cx="16.91549431" cy="16.91549431" r="15.91549431" />
<g class="circle-chart__info">
<text class="circle-chart__percent" x="16.91549431" y="16.5" alignment-baseline="central" text-anchor="middle" font-size="8" style="fill: #fff;">87%</text>
<text class="circle-chart__subline" x="16.91549431" y="23.5" alignment-baseline="central" text-anchor="middle" font-size="2" style="fill: #fff;">Apps</text>
</g>
</svg>
<p class="source">Source: comScore Mobile Metrix June 2015</p>
</section>
<section>
<h2>Capability vs Reachability</h2>
<img data-src="./img/capability-reachability-1.png" alt="Capability vs Reachability" style="width: 60%;">
<aside class="notes">According to Google: mobiles visit 100 websites a month. Thanks to URL</aside>
</section>
<section>
<h2>Capability vs Reachability</h2>
<img data-src="./img/capability-reachability-2.png" alt="Capability vs Reachability" style="width: 60%;">
</section>
</section>
<section>
<section>
<h2>Introducing<br>Progressive Web Apps</h2>
<img data-src="./img/hamster-preach.jpg" alt="Introducing PWA" style="width: 60%;">
</section>
<section>
<h2>#1 Linkable</h2>
<p class="fragment"><i>1 page = 1 link</i></p>
</section>
<section>
<h2>#2 Safe <img data-src="./img/emojis/lock.png" class="emoji"></h2>
<h3 class="fragment"><a href="https://letsencrypt.org/">Let's Encrypt</a>: a <b>free</b>, <b>automated</b>, and <b>open</b> Certificate Authority</h3>
<img data-src="./img/letsencrypt-sponsors.png" class="fragment" alt="letsencrypt sponsors">
</section>
<section>
<h2>#3 Responsive</h2>
<img data-src="./img/responsive.png" class="fragment" alt="content is like water">
</section>
<section>
<h2>#4 App-like</h2>
</section>
<section>
<h2><img data-src="./img/emojis/thumbs-up.png" class="emoji"> Speed matter</h2>
<img data-src="./img/redbull-tire-change.jpg" alt="Team Red Bull Racing tire change" style="width: 60%;">
<ul class="unstyled fragment">
<li>2.05 Seconds = Team Red Bull Racing tire change</li>
<li>19 seconds = average page load time (3G network)</li>
</ul>
<p class="space-top fragment"><img data-src="./img/emojis/warning.png" class="emoji"> <span class="text-info">53%</b> of users bounce if sites load > 3s</p>
<p class="source"><a href="https://www.doubleclickbygoogle.com/articles/mobile-speed-matters/">source: doubleclickbygoogle.com</a></p>
</section>
<section>
<h2>Application shell architecture</h2>
<div class="row">
<div class="col"><img data-src="./img/app-shell.png" alt="app shell architecture" style="width: 50%;"></div>
<div class="col"><img data-src="./img/app-shell-2.png" alt="app rendered" style="width: 50%;"></div>
</div>
<p><a href="https://developers.google.com/web/showcase/2018/asda-george"><img data-src="./img/emojis/high-voltage.png" class="emoji">Georges.com reduce page load by 3.8</a></p>
</section>
<section>
<h2>#5 Progressive</h2>
<h3><i>Work for every user, regardless of browser choice because they’re built with progressive enhancement as a core tenet.</i></h3>
</section>
<section>
<h2>Not every browsers are the same</h2>
<img data-src="./img/whatwebcandotoday.png" alt="what web can do today" style="width: 80%">
<p class="source"><a href="https://whatwebcando.today/">https://whatwebcando.today (Firefox 58 Ubuntu)</a></p>
</section>
<section>
<h2>#6 Fresh</h2>
<h3><i>Always up-to-date thanks to the service worker update process</i></h3>
</section>
<section data-background="./img/xbox-update.png">
</section>
<section>
<h2>Avoid this:</h2>
<img data-src="./img/update-app.jpg" alt="">
</section>
<section>
<h2>#7 Installable</h2>
<div class="row" style="display: block;">
<img data-src="./img/install-1.png" alt="install PWA" class="fragment separate" style="width: 23%">
<img data-src="./img/install-2.png" alt="install PWA" class="fragment separate" style="width: 23%">
<img data-src="./img/install-3.png" alt="install PWA" class="fragment separate" style="width: 23%">
<img data-src="./img/phone-app-list.jpg" alt="install PWA" class="fragment separate" style="width: 23%">
</div>
<p class="fragment"><i>Chrome create APK / Web APK (Android)</i></p>
<button id="installButton" class="fragment">install me</button>
</section>
<section>
<h2>#8 Discoverable</h2>
</section>
<section>
<h2>Web App Manifest</h2>
<img data-src="./img/manifest.png" alt="manifest.json" style="width: 80%;">
<aside class="notes">
<code data-trim>
{
"name": "GitVub",
"short_name": "GitVub",
"icons": [
{
"src": "/static/img/icons/favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
},
// ...
],
"start_url": "/index.html?source=homescreen",
"display": "fullscreen",
"background_color": "#f5f5f5",
"theme_color": "#424242"
}
</code>
</aside>
</section>
<section>
<h2><img data-src="./img/emojis/scientist.png" class="emoji"> PWA in Windows Store!</h2>
<img data-src="./img/windows-store.jpg" alt="how Windows store crawl PWA">
<p class="source"><a href="https://blogs.windows.com/msedgedev/2018/02/06/welcoming-progressive-web-apps-edge-windows-10/">blogs.windows.com</a></p>
</section>
<section>
<h2><img data-src="./img/emojis/thumbs-up.png" class="emoji"> Lighthouse</h2>
<img data-src="./img/lighthouse.png" alt="lighthouse logo" style="background: none; box-shadow: none;">
<a href="./slides.maxpou.fr_2018-06-01_17-42-26.report.html">Report example</a>
</section>
<section>
<h2><a onclick="notifyMe(); return false;">#9 Re-engageable</a></h2>
<img data-src="./img/push-notifications.gif" alt="push notifications" style="width: 47%;">
<p class="fragment">Please: ask only when needed.</p>
</section>
<section>
<h2><img data-src="./img/emojis/think-face.png" class="emoji"> Web payment API (Draft)</h2>
<img data-src="./img/payment-request.png" style="width: 70%;" alt="Web payment API">
<p><a href="https://www.w3.org/TR/payment-request/">Payment Request API (W3C)</a></p>
<button id="buyButton">Buy the last iPhone X for 10€!</button>
</section>
<section>
<h2><img data-src="./img/emojis/think-face.png" class="emoji"> Web Share API (Draft)</h2>
<img data-src="./img/webshareapi.png" style="width: 30%;" alt="Web payment API">
<br>
<button id="shareButton">Share this slides!</button>
</section>
<section>
<h2>#10 Connectivity independent</h2>
<blockquote>
<i>"The best request is no request"</i>
</blockquote>
<img data-src="./img/t-rex-offline.png" alt="chrome offline T-rex">
</section>
<section>
<img data-src="./img/ohmygod.gif" alt="oh my god!!!">
</section>
<section data-background="./img/worldmap-connectivity.png">
<div class="fragment greyed-out">
<p>45% of mobile connections are still on slower 2G networks</p>
<br>
<p style="font-size: medium;">
<a href="https://www.gsmaintelligence.com/research/2017/02/infographic-smartphones-and-coverage-driving-mobile-broadband-adoption/609/">(Source: GSMA)</a>
</p>
</div>
</section>
<section>
<h2>Service workers</h2>
<img data-src="./img/service-worker-0.png" alt="what is a service worker">
</section>
<section>
<h2>Service workers</h2>
<img data-src="./img/service-worker.png" alt="what is a service worker">
</section>
<section>
<h2>Offline strategies</h2>
<h3>Cache first</h3>
<img data-src="./img/strategy-cache-falling-back-to-network.png" alt="cache falling back to network" style="width: 72%;">
<p class="source"> <a href="https://jakearchibald.com/2014/offline-cookbook/">The offline cookbook - Jake Archibald</a></p>
</section>
<section>
<h2>Offline strategies</h2>
<h3>Network first</h3>
<img data-src="./img/strategy-network-falling-back-to-cache.png" alt="network falling back to cache" style="width: 72%;">
<p class="source"> <a href="https://jakearchibald.com/2014/offline-cookbook/">The offline cookbook - Jake Archibald</a></p>
</section>
<section>
<h2>Offline strategies</h2>
<h3>cache then network</h3>
<img data-src="./img/strategy-cache-then-network.png" alt="cache then network" style="width: 80%;">
<p class="source"> <a href="https://jakearchibald.com/2014/offline-cookbook/">The offline cookbook - Jake Archibald</a></p>
</section>
<section>
<h2>Offline strategies</h2>
<h3>stale while revalidate</h3>
<img data-src="./img/strategy-stale-while-revalidate.png" alt="stale while revalidate" style="width: 82%;">
<p class="source"> <a href="https://jakearchibald.com/2014/offline-cookbook/">The offline cookbook - Jake Archibald</a></p>
</section>
<section>
<h2>Example: Cache first</h2>
<img data-src="./img/no-workbox.png" alt="code without workbox">
<aside class="notes">
<code data-trim>
self.addEventListener('fetch', function(event) {
event.respondWith(
fetch(event.request).catch(function() {
return caches.match(event.request)
})
)
})
</code>
</aside>
</section>
<section>
<h2>Workbox</h2>
<img data-src="./img/workbox-2.png" alt="example with Workbox" class="fragment" style="width: 70%">
<img data-src="./img/workbox-1.png" alt="example with Workbox" class="fragment" style="width: 70%">
<aside class="notes">
<code>
workbox.routing.registerRoute(
/\.(?:png|gif|jpg|jpeg|svg)$/,
workbox.strategies.cacheFirst({
cacheName: 'images',
plugins: [
new workbox.expiration.Plugin({
maxEntries: 60,
maxAgeSeconds: 30 * 24 * 60 * 60, // 30 Days
})
]
})
)
workbox.routing.registerRoute(
new RegExp('https://api.github.com.*'),
workbox.strategies.networkFirst()
)
</code>
</aside>
</section>
<section>
<h2 class="fragment strike" data-fragment-index="1">#11 Single Page Application</h2>
<p class="fragment" data-fragment-index="1"><img data-src="./img/emojis/haha.png" class="emoji"></p>
</section>
</section>
<section>
<section>
<h2>Feedbacks</h2>
</section>
<section>
<h2 class="fragment strike">Twitter iOS native app</h2>
</section>
<section>
<div class="row">
<div class="col">
<img data-src="./img/tw-lite-pwa.png" alt="twitter lite pwa" style="width: 70%;">
</div>
<div class="col col-center">
<h2>Twitter (Lite)</h2>
<ul class="unstyled">
<li><span class="number text-info">+65%</span> pages per session</li>
<li><span class="number text-info">+75%</span> Tweets sent</li>
<li><span class="number text-info">+20%</span> bounce rate</li>
</ul>️
</div>
</div>
<p class="source"><a href="https://developers.google.com/web/showcase/2017/twitter">Source: developers.google.com</a></p>
</section>
<section>
<div class="row">
<div class="col col-center">
<h2>Forbes</h2>
<ul class="unstyled">
<li><span class="number text-info">+43%</span> sessions per user</li>
<li><span class="number text-info">+20%</span> ad viewability</li>
<li><span class="number text-info">x3</span> scroll depth</li>
<li><span class="number text-info">+100%</span> engagement</li>
</ul>️
</div>
<div class="col">
<img data-src="./img/forbes.png" alt="Forbes pwa">
</div>
</div>
<p class="source"><a href="https://developers.google.com/web/showcase/2017/forbes">Source: developers.google.com</a></p>
<aside class="notes">http://www.pubexec.com/wp-content/uploads/sites/13/2017/10/Screen-Shot-2017-10-05-at-12.53.52-PM.png?x20597</aside>
</section>
<section>
<h2>Pinterest</h2>
<div class="row">
<h4>Old mobile web vs. new mobile web</h4>
</div>
<div class="row">
<div class="col">
<span class="number text-info">+40%</span>
</div>
<div class="col">
<span class="number text-info">+44%</span>
</div>
<div class="col">
<span class="number text-info">+50%</span>
</div>
<div class="col">
<span class="number text-info">+60%</span>
</div>
</div>
<div class="row">
<div class="col">
<span class="number-legend">Time spent > 5 minutes</span>
</div>
<div class="col">
<span class="number-legend">User-generated Ad $</span>
</div>
<div class="col">
<span class="number-legend">Ad Click Throughs</span>
</div>
<div class="col">
<span class="number-legend">Core engagements</span>
</div>
</div>
<div class="row spaced fragment" data-fragment-index="0">
<h4>Web vs. native</h4>
</div>
<div class="row fragment" data-fragment-index="0">
<div class="col">
<span class="number text-info">+5%</span>
</div>
<div class="col">
<span class="number text-info">+2%</span>
</div>
<div class="col">
<span class="number text-info">+0%</span>
</div>
<div class="col">
<span class="number text-info">+2-3%</span>
</div>
</div>
<div class="row fragment" data-fragment-index="0">
<div class="col">
<span class="number-legend">Time spent > 5 minutes</span>
</div>
<div class="col">
<span class="number-legend">User-generated Ad $</span>
</div>
<div class="col">
<span class="number-legend">Ad Click Throughs</span>
</div>
<div class="col">
<span class="number-legend">Core engagements</span>
</div>
</div>
<p class="source fragment" data-fragment-index="0"><a href="https://medium.com/dev-channel/a-pinterest-progressive-web-app-performance-case-study-3bd6ed2e6154">Source: A Pinterest PWA Performance Case Study by @addyosmani</a></p>
</section>
<section>
<h2>Try it out!</h2>
<img data-src="./img/brands/flipkart.png" alt="flipkart">
<img data-src="./img/brands/googlemaps.png" alt="google maps">
<img data-src="./img/brands/instagram.png" alt="instagram">
<img data-src="./img/brands/starbucks.png" alt="starbucks">
<img data-src="./img/brands/tinder.png" alt="tinder">
<img data-src="./img/brands/twitter.png" alt="twitter">
</section>
</section>
<section>
<section>
<h2>Let's Summarize</h2>
<p>My definition of PWA</p>
<img data-src="./img/baby-car.gif" class="fragment" alt="baby car">
</section>
<section>
<h2>Let's Summarize</h2>
<blockquote class="fragment">
<i>"Just websites that took all the right vitamins"</i>
<br>
- Alex Russell
</blockquote>
<div class="row spaced">
<div class="col fragment"><img data-src="./img/emojis/running.png" class="emoji"><br><span class="text-info-bold">F</span>ast</div>
<div class="col fragment"><img data-src="./img/emojis/map.png" height="72" width="72" class="emoji"><br><span class="text-info-bold">I</span>ntegrated</div>
<div class="col fragment"><img data-src="./img/emojis/check.png" class="emoji"><br><span class="text-info-bold">R</span>eliable</div>
<div class="col fragment"><img data-src="./img/emojis/target.png" class="emoji"><br><span class="text-info-bold">E</span>ngaging</div>
</div>
</section>
<section>
<img data-src="./img/capability-reachability-2.png" alt="Capability vs Reachability" style="width: 60%;">
</section>
<section>
<h2>Thank you.</h2>
<p class="me-link">
<a href="https://twitter.com/_maxpou"><i class="fa fa-twitter"></i> @_maxpou</a> -
<a href="http://www.maxpou.fr/"><i class="fa fa-globe"></i> maxpou.fr</a> -
</p>
</section>
</section>
<section>
<section>
<h2>Back up slides</h2>
</section>
<section>
<h2>Services workers not ready?</h2>
<img data-src="./img/caniuse-service-workers.png" alt="can I use service workers? Yes.">
</section>
<section>
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/Google?ref_src=twsrc%5Etfw">@google</a>, <a href="https://twitter.com/mozilla?ref_src=twsrc%5Etfw">@mozilla</a>, <a href="https://twitter.com/Microsoft?ref_src=twsrc%5Etfw">@Microsoft</a> , <a href="https://twitter.com/Samsung?ref_src=twsrc%5Etfw">@samsung</a> and <a href="https://twitter.com/opera?ref_src=twsrc%5Etfw">@opera</a> on stage for <a href="https://twitter.com/hashtag/pwadevsummit?src=hash&ref_src=twsrc%5Etfw">#pwadevsummit</a> Q&A session ! <a href="https://t.co/3V4krKnEsq">pic.twitter.com/3V4krKnEsq</a></p>— Nicolas Inchauspé (@nicoinch) <a href="https://twitter.com/nicoinch/status/745216197004754944?ref_src=twsrc%5Etfw">June 21, 2016</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</section>
<section>
<h2><img data-src="./img/emojis/warning.png" class="emoji"> Service Workers + subdomains = <img data-src="./img/emojis/broken-heart.png" class="emoji"></h2>
<ul>
<p>3 subdomains = 3 Service Workers</p>
<li>www.website.com</li>
<li>secure.website.com</li>
<li>french.website.com</li>
</ul>
<br>
<p><a href="https://www.chromestatus.com/feature/5684130679357440"><img data-src="./img/emojis/scientist.png" class="emoji"> <i>Foreign Fetch Status (Chrome Platform)</i></a></p>
</section>
<section>
<h2><a href="http://manifoldjs.com/generator">Tool: PWA Builder</a></h2>
<img data-src="./img/pwa-builder.png" alt="pwa builder">
</section>
<section>
<h2><a href="https://www.webpagetest.org">Tool: webpagetest.org</a></h2>
</section>
<section>
<h2>Performance is Money</h2>
<p><a href="https://www.thinkwithgoogle.com/feature/mobile/">Think With Google: Potential Revenue Impact Calculator</a></p>
<img data-src="./img/impact-calculator.png" alt="Potential Revenue Impact Calculator" style="width: 70%;">
</section>
<section>
<h2>Native development still relevant</h2>
<img data-src="./img/fb-mobile-stats.png" alt="facebook mobile stats" style="width: 60%">
</section>
<section>
<h2>Google Maps PWA</h2>
<h3>PWA: 205kB vs. Native app: 193MB</h3>
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Playing with Google Maps <a href="https://twitter.com/hashtag/PWA?src=hash&ref_src=twsrc%5Etfw">#PWA</a> <a href="https://t.co/smrbCNPbpJ">pic.twitter.com/smrbCNPbpJ</a></p>— Maxence Poutord (@_maxpou) <a href="https://twitter.com/_maxpou/status/1009773498624069638?ref_src=twsrc%5Etfw">June 21, 2018</a></blockquote>
</section>
<section>
<h2><img data-src="./img/emojis/ski.png" class="emoji"> "I need performance"</h2>
<p class="fragment" data-fragment-index="1">Checkout:</p>
<ul class="fragment" data-fragment-index="1">
<li>Performance as a feature</li>
<li>Do you really need to track you customers that much?</li>
<li><a target="_blank" rel="noopener" href="https://page-transitions.com">page-transitions.com</a> by (@sarah_edo)</li>
<li>WebAssembly (Wasm)</li>
</ul>
</section>
</section>
</div>
</div>
<script src="reveal.js/lib/js/head.min.js"></script>
<script src="reveal.js/js/reveal.js"></script>
<script src="js/payment.js" async></script>
<script src="js/notification.js" async></script>
<script src="js/add2homescreen.js" async></script>
<script src="js/share.js" async></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: false,
progress: true,
slideNumber: true,
history: true,
transition: 'fade', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: 'reveal.js/plugin/notes/notes.js', async: true }
]
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-67868977-1', 'auto');
ga('send', 'pageview');
</script>
<script>
// register sw
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('sw.js', {scope: '/pwa-app-on-steroids/'})
})
}
</script>
</body>
</html>