sponsor - olegs belousovs · 2018-04-30 · • does amp replaces websites? are we back to the...
TRANSCRIPT
![Page 1: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/1.jpg)
<
![Page 2: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/2.jpg)
![Page 3: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/3.jpg)
Sponsor
![Page 4: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/4.jpg)
Matteo FogliWeb Performance Lead
@pecus
![Page 5: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/5.jpg)
Modo@madebymodo
https://modo.md/
![Page 6: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/6.jpg)
<
![Page 7: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/7.jpg)
<
![Page 8: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/8.jpg)
What is AMP?
![Page 9: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/9.jpg)
![Page 10: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/10.jpg)
AMP is HTML
⚡
![Page 11: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/11.jpg)
AMP is a Web Component Format
+ JavaScript Library
![Page 12: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/12.jpg)
AMP is strictly validated
![Page 13: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/13.jpg)
What is AMP Recap• Accelerated Mobile Pages are HTML pages
designed to be rendered fast
• AMP is a web component format + JS library, strictly validated
• AMP does not require any server side technology* and works in any browser
![Page 14: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/14.jpg)
DRIVER ED
![Page 15: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/15.jpg)
AMP 101
![Page 16: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/16.jpg)
AMP 101
![Page 17: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/17.jpg)
AMP 101
![Page 18: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/18.jpg)
AMP 101
![Page 19: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/19.jpg)
AMP 101
![Page 20: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/20.jpg)
AMP 101
![Page 21: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/21.jpg)
AMP 101
https://www.ampproject.org/
![Page 22: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/22.jpg)
AMP Do’s and Don’ts
![Page 23: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/23.jpg)
Simplified HTML
![Page 24: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/24.jpg)
Simplified HTMLNo external resources
img
video
audio
iframe
![Page 25: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/25.jpg)
Simplified HTMLNo external resources
img
video
audio
iframe
![Page 26: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/26.jpg)
Simplified HTMLNo external resources
img <amp-img>
video <amp-video>
audio <amp-audio>
iframe <amp-iframe>
![Page 27: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/27.jpg)
No JavaScript
![Page 28: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/28.jpg)
CSS
![Page 29: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/29.jpg)
CSS• 50Kb single file CSS
• no inline styles
• no !important
• no filter:
• only GPU–accelerated CSS animations
![Page 30: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/30.jpg)
SEO
![Page 31: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/31.jpg)
SEO• Self Canonicalize or use an alternate page
• Use <link rel="amphtml"> in alternate page
• Ensure Content Parity
• Validate iteratively + fix errors
![Page 32: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/32.jpg)
Validation
![Page 33: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/33.jpg)
How to validate AMP• With your browser (append "#development=1" to URL)
• Web Interface: https://validator.ampproject.org/
• Browser Extension
• NPM Packages for CI
• Command Line Tool
![Page 34: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/34.jpg)
Development lifecycle issues• Validator via node
• Complex test environments vs. validation / iteration
• A/B testing
• Enforce user input / UGC
![Page 35: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/35.jpg)
AMP 101 Recap• Subset of HTML + boilerplate
• No JS (iFrames / AMP Components)
• Light CSS (50Kb + fonts)
• Must validate (with browser, toolchain or process)
![Page 36: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/36.jpg)
Ready to race?
![Page 37: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/37.jpg)
AMP Pros
• Fast / Lightweight
• Progressively Enhanced
• Open Source / somewhat standardised
• Publisher advantage (reach, higher CT rates, lower bounces)
![Page 38: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/38.jpg)
Common misconceptions• Does AMP replaces websites? Are we back to the
m-site nightmare of pre-responsive web?
![Page 39: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/39.jpg)
Common misconceptions• Does AMP replaces websites? Are we back to the
m-site nightmare of pre-responsive web?
• Will AMP sites look all the same? 50Kb of CSS is tiny!
PurifyCSS
![Page 40: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/40.jpg)
Common misconceptions• Does AMP replaces websites? Are we back to the
m-site nightmare of pre-responsive web?
• Will AMP sites look all the same? 50Kb of CSS is tiny!
• Is AMP a static site? no fancy JS stuff (no JS!)?
![Page 41: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/41.jpg)
Great, right?
![Page 42: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/42.jpg)
Enter Google News Carousel
![Page 43: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/43.jpg)
![Page 44: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/44.jpg)
Great, right?
![Page 45: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/45.jpg)
So, then, AMP…
![Page 46: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/46.jpg)
AMP Cons• Proprietary (despite OSS)
• “Breaks” the web
• breaks URLs, scrolling issues, introduces 3rd party hosting
• Competitive advantage in News Carousel
• Associated cost (development, testing, maintenance)
![Page 47: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/47.jpg)
How Can AMP Be So Fast?
![Page 48: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/48.jpg)
How can AMP be so fast?• Critical path is clear of blocking obstacles
• CSS (inline)
• JS (ampified + async)
![Page 49: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/49.jpg)
How can AMP be so fast?• Critical path is clear of blocking obstacles
• CSS (inline)
• JS (ampified + async)
• Static layouting (elements have known sizes)
1 SINGLE HTTP REQUEST TO DISPLAY CONTENT
![Page 50: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/50.jpg)
How can AMP be so fast?• Critical path is clear of blocking obstacles
• CSS (inline)
• JS (ampified + async)
• Static layouting (elements have known sizes)
• Early font loading
![Page 51: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/51.jpg)
How can AMP be so fast?• Critical path is clear of blocking obstacles
• CSS (inline)
• JS (ampified + async)
• Static layouting (elements have known sizes)
• Early font loading
• Minimized relayouting
![Page 52: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/52.jpg)
How can AMP be so fast?• Critical path is clear of blocking obstacles
• CSS (inline)
• JS (ampified + async)
• Static layouting (elements have known sizes)
• Early font loading
• Minimized relayouting
• Prioritised resource loading (ATF)
![Page 53: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/53.jpg)
Then just add NOS…
![Page 54: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/54.jpg)
NOS: AMP Caches• Caches play a fundamental role in AMP
• Ensure the document is valid (thus, fast)
• Allow embedding
• Allow image optimisation, source reordering, AMP post–processing
• Allow pre–rendering (partial, prioritised)
![Page 55: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/55.jpg)
NOS: AMP Caches• Ensure no Cross Scripting Issues when
preloading
• Modify JS URLs for better caching
• Provide a privacy shield when content is pre-rendered
![Page 56: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/56.jpg)
NOS: Preloading
https://medium.com/@pbakaus/why-amp-caches-exist-cd7938da2456
![Page 57: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/57.jpg)
NOS: Preloading• Prerenders only ATF
• No downloads of BTF elements
• Does not execute 3rd party JavaScript
• on average 75% off in pre-rendering
https://www.youtube.com/watch?v=hVRkG1CQScA
![Page 58: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/58.jpg)
Recap• AMP Pros
• Fast / Lightweight
• Progressively Enhanced
• Open Source / somewhat standardised
• Preloading (News Carousel)
• AMP Cons
• Privately led OSS
• Not a W3C standard
• Less control over content
• Improper advantage on SERP
![Page 59: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/59.jpg)
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
Comparison
![Page 60: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/60.jpg)
Comparison• AMP vs. separate canonical page
• AMP pages are significantly lighter (905 KB vs. 2,762 KB) and load significantly fewer assets (61 vs. 318 requests)
• There are significant extremes across the spectrum (heavily bloated pages, slow pages)
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
![Page 61: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/61.jpg)
AMP page speeds
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
Metric Min Max Median 90th Percentile
Start Render 1,765ms 8,130ms 4,617ms 5,788ms
Visually Complete 4,604ms 35,096ms 7,475ms 21,432ms
Speed Index 3729 16230 6171 10144
Weight 273kb 10,385kb 905kb 1,553kb
Requests 14 308 61 151
(served from origin)
![Page 62: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/62.jpg)
Enter the Cache
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
• Google AMP Cache
• CDN
• caches AMP documents
• applies a series of optimizations
• provides a validation system
![Page 63: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/63.jpg)
AMP page speeds
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
Metric Min Max Median 90th Percentile
Start Render 1,427ms 4,828ms 1,933ms 2,291ms
Visually Complete 2,036ms 36,001ms 4,924ms 19,626ms
Speed Index 1966 18677 3277 9004
Weight 177kb 10,749kb 775kb 2,079kb
Requests 13 305 53 218
(served from Google AMP cache)
![Page 64: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/64.jpg)
Google AMP Cache Delta
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
Metric Min Max Median 90th Percentile
Start Render (ms) -338 (119,15%) -3.302 (140,61%) -2.684 (158,13%) -3.497 (160,41%)
Visually Complete (ms) -2.568 (155,77%) 905 (97,42%) -2.551 (134,12%) -1.806 (108,42%)
Speed Index -1763 (147,27%) 2.447 (84,92%) -2.894 (146,89%) -1.140 (111,23%)
Weight (kb) -96 (135,16%) 364 (96,49%) -130 (114,36%) 526 (66,13%)
Requests -1 (107,14%) -3 (100,97%) -8 (113,11%) 67 (55,62%)
(Google AMP cache vs. origin, abs. differences, for % origin is 100%)
![Page 65: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/65.jpg)
Canonical page speeds
https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-really/
Metric Min Max Median 90th Percentile
Start Render 1,763ms 7,469ms 4,227ms 6,298ms
Visually Complete 4,231ms 108,006ms 20,418ms 54,546ms
Speed Index 3332 45362 8152 21495
Weight 251kb 11,013kb 2,762kb 5,229kb
Requests 24 1743 318 647
(HTML canonical pages)
![Page 66: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/66.jpg)
SpeedIndex: 5337 SpeedIndex: 4506 SpeedIndex: 3546
Start Render: 3600ms Start Render: 4033ms Start Render: 2850ms
AMPCanonical AMP Cache
![Page 67: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/67.jpg)
Advanced AMP
![Page 68: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/68.jpg)
PWA + AMP2 (and 1/2) Strategies
1. AMP Up: use AMP as landing, then install SW and handoff to PWA
2. AMP Down: use AMP as a SSoT for content (vs. Json)
![Page 69: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/69.jpg)
PWA + AMP
![Page 70: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/70.jpg)
PWA + AMP
![Page 71: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/71.jpg)
AMP future• Standardization: Feature Policy, Web Packaging, iframe
promotion, Performance Timeline, and Paint Timing.
• Web Packaging format for providing privacy preserving pre-loading, no 3rd party caches
• Custom JavaScript (Web Workers + Virtual DOM)
• Origin URLs
• See: https://github.com/ampproject/amphtml/blob/master/contributing/web-standards-related-to-amp.md
![Page 72: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/72.jpg)
AMP Resources• http://ampbyexample.com
• http://ampproject.org
• The AMP Channel (YouTube)
• Malte Ubl @cramforce
• Paul Baukaus @pbakaus
• https://amphtml.wordpress.com
![Page 73: Sponsor - Olegs Belousovs · 2018-04-30 · • Does AMP replaces websites? Are we back to the m-site nightmare of pre-responsive web? • Will AMP sites look all the same? 50Kb of](https://reader031.vdocuments.us/reader031/viewer/2022011822/5ec5664dfd680a510541045e/html5/thumbnails/73.jpg)
Driver: Matteo Fogli @pecus
Production: TorinoWebPerf
P.R. Agency: #webperformanceitalia
Twitvertising: @trnwebperf
Camera: Oleg Belousov