SlideShare a Scribd company logo
1 of 29
Download to read offline
AMP	The	Good	The	Bad	and	The	Ugly
1
Numbers
1 Million - Distinct AMP articles rendered per day.
440k - The size of the average canonical page CSS.
31k - The size of the average AMP page CSS
600ms - Time to convert, from cold, a typical page.
100ms - CPU Time to convert a Page
1 Second - Median DOM Content Loaded.
3
HTML to AMPHTML Is Easy

Mostly.
4
440K > 50K
What do you mean I only
have 50K for CSS?
5
CSS is like that storage unit
your in laws have.

6
The One Big CSS File
Model Should Die
7
Filter the CSS and only
include the rules in use.
Sounds Easy Enough …
8
CSS Filtering:
It doesn’t matter what matches,

just that something does.
Or rather that nothing does…
9
Find all the Things
10
Check Each Part
.foo .bar a.baz { … }
If any one part isn’t in the dom delete the selector.
If you’ve deleted all the selectors delete the CSS block.
10 X Faster than $(“.foo .bar a.baz”)
11
Still Too Big? Rename All The Things
.header-very-long-class-name -> .cd
#veryDescriptiveIdThatIsUsedOnce -> #de
Watch out for
[class^=“very-long-class-“] and amp-*
12
!important (who named it not important?)
13
Remember CSS Specificity
14
#id1 #i12 .selector
15
Enough of CSS - HTML Edge Cases
<iframes are us>
If it’s an <iframe> and it can be https make it an <amp-iframe>
Lots of things can be HTTPS they just don’t admit it.
Examples:
Storify, SurveyGizmo, ispot.tv, ABC TV embeds,

C-Span, Kickstarter, gfycat, giphy, livestream
16
Shims all the way down.
Resizable JS element with a shim: Disqus Comments.
AMP Page -> <amp-iframe> (shim) -> <regular iframe>
Shim listens for resize events from regular iframe,
passes to AMP
Remember to add placeholder and overflow elements.
Sample:
https://storage.googleapis.com/relay-media-assets/
players/disqus-shim.html
17
amp-list - Not Just for Lists
18
amp-list - Not Just for Lists
19
For a Fist Full of Dollars
Put Ads in the Content
300x250 after paragraph 2
300x250’s every N paragraphs.
20
For a Few Dollars More
You need more that DFP -> ADX
Nativo, Teads
Private exchanges
Make sure your video pre-roll works.
Include Direct Sold
21
Use amp-experiment to Test Ads and UX
data-loading-strategy=“prefer-viewability-over-views”
amp-sticky-ad vs 320x50 top banner
What elements are “road blocks” that cause people
to stop reading?
22
Your Logo Is Important
23
Don’t Just Use The Masthead Logo
24
The Ugly
25
AMP In A Hurricane
26
27
Parting thoughts
You don’t ‘do amp’ and leave it.
Validate Every Page.
28
Thank You.

jpp@relaymedia.com
www.relaymedia.com

29

More Related Content

What's hot

Hostgator coupon code august 2015
Hostgator coupon code august 2015Hostgator coupon code august 2015
Hostgator coupon code august 2015Adil El Mahfoudi
 
hostgator coupon code june 2014 - 50% OFF
hostgator coupon code june 2014 - 50% OFFhostgator coupon code june 2014 - 50% OFF
hostgator coupon code june 2014 - 50% OFFadilmahfoudi
 
Architecting high traffic websites with rapid changes in data on AWS
Architecting high traffic websites with rapid changes in data on AWSArchitecting high traffic websites with rapid changes in data on AWS
Architecting high traffic websites with rapid changes in data on AWSAWS User Group Brisbane
 
Hostgator coupon code january 2014
Hostgator coupon code january 2014Hostgator coupon code january 2014
Hostgator coupon code january 2014Amin1983
 
Website Optimization - WordPress
Website Optimization - WordPressWebsite Optimization - WordPress
Website Optimization - WordPressAditya Shah
 
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast21 Ways to Make WordPress Fast
21 Ways to Make WordPress FastJason McCreary
 
Growing MongoDB on AWS
Growing MongoDB on AWSGrowing MongoDB on AWS
Growing MongoDB on AWScolinthehowe
 
T3CMD19 - Day 2 - Performance
T3CMD19 - Day 2 - PerformanceT3CMD19 - Day 2 - Performance
T3CMD19 - Day 2 - PerformanceTYPO3 GmbH
 
Utbildningsradion 2011
Utbildningsradion 2011Utbildningsradion 2011
Utbildningsradion 2011Per Åström
 
DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012
DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012
DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012Amazon Web Services
 
Top 10 website optimizations tips
Top 10 website optimizations tipsTop 10 website optimizations tips
Top 10 website optimizations tipskatyaweb
 
Client Side Optimization
Client Side OptimizationClient Side Optimization
Client Side OptimizationPatrick Huesler
 
High Performance WordPress II
High Performance WordPress IIHigh Performance WordPress II
High Performance WordPress IIBarry Abrahamson
 
Latinoware 2008
Latinoware 2008Latinoware 2008
Latinoware 2008photomatt
 
How to save 16 million euro for your start up business
How to save 16 million euro for your start up businessHow to save 16 million euro for your start up business
How to save 16 million euro for your start up businesskantanmt
 

What's hot (16)

Hostgator coupon code august 2015
Hostgator coupon code august 2015Hostgator coupon code august 2015
Hostgator coupon code august 2015
 
hostgator coupon code june 2014 - 50% OFF
hostgator coupon code june 2014 - 50% OFFhostgator coupon code june 2014 - 50% OFF
hostgator coupon code june 2014 - 50% OFF
 
Architecting high traffic websites with rapid changes in data on AWS
Architecting high traffic websites with rapid changes in data on AWSArchitecting high traffic websites with rapid changes in data on AWS
Architecting high traffic websites with rapid changes in data on AWS
 
Hostgator coupon code january 2014
Hostgator coupon code january 2014Hostgator coupon code january 2014
Hostgator coupon code january 2014
 
Website Optimization - WordPress
Website Optimization - WordPressWebsite Optimization - WordPress
Website Optimization - WordPress
 
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
 
WordCamp RVA
WordCamp RVAWordCamp RVA
WordCamp RVA
 
Growing MongoDB on AWS
Growing MongoDB on AWSGrowing MongoDB on AWS
Growing MongoDB on AWS
 
T3CMD19 - Day 2 - Performance
T3CMD19 - Day 2 - PerformanceT3CMD19 - Day 2 - Performance
T3CMD19 - Day 2 - Performance
 
Utbildningsradion 2011
Utbildningsradion 2011Utbildningsradion 2011
Utbildningsradion 2011
 
DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012
DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012
DAT203 Optimizing Your MongoDB Database on AWS - AWS re: Invent 2012
 
Top 10 website optimizations tips
Top 10 website optimizations tipsTop 10 website optimizations tips
Top 10 website optimizations tips
 
Client Side Optimization
Client Side OptimizationClient Side Optimization
Client Side Optimization
 
High Performance WordPress II
High Performance WordPress IIHigh Performance WordPress II
High Performance WordPress II
 
Latinoware 2008
Latinoware 2008Latinoware 2008
Latinoware 2008
 
How to save 16 million euro for your start up business
How to save 16 million euro for your start up businessHow to save 16 million euro for your start up business
How to save 16 million euro for your start up business
 

Viewers also liked

Federal and Local Resiliency Planning in the Wake of Hurricane Sandy
Federal and Local Resiliency Planning in the Wake of Hurricane SandyFederal and Local Resiliency Planning in the Wake of Hurricane Sandy
Federal and Local Resiliency Planning in the Wake of Hurricane SandyDr. R. Christopher Goodwin
 
Medidas de tendencia central%2c posición y de
Medidas de tendencia central%2c posición y deMedidas de tendencia central%2c posición y de
Medidas de tendencia central%2c posición y deAndres Diaz
 
Propuesta de un nuevo concepto de currículo
Propuesta de un nuevo concepto de currículoPropuesta de un nuevo concepto de currículo
Propuesta de un nuevo concepto de currículoJuliana Campo Campo
 
InterTech provides top engineering services in Qatar
InterTech provides top engineering services in QatarInterTech provides top engineering services in Qatar
InterTech provides top engineering services in QatarMaxim Gavrik
 
08 gifts of the spirit
08 gifts of the spirit08 gifts of the spirit
08 gifts of the spiritchucho1943
 
The future of insurance distribution: New models for a digital customer
The future of insurance distribution: New models for a digital customerThe future of insurance distribution: New models for a digital customer
The future of insurance distribution: New models for a digital customerAccenture Insurance
 
GoogleのSHA-1のはなし
GoogleのSHA-1のはなしGoogleのSHA-1のはなし
GoogleのSHA-1のはなしMITSUNARI Shigeo
 
How to Earn the Attention of Today's Buyer
How to Earn the Attention of Today's BuyerHow to Earn the Attention of Today's Buyer
How to Earn the Attention of Today's BuyerHubSpot
 
25 Discovery Call Questions
25 Discovery Call Questions25 Discovery Call Questions
25 Discovery Call QuestionsHubSpot
 
Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...
Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...
Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...HubSpot
 
Class 1: Email Marketing Certification course: Email Marketing and Your Business
Class 1: Email Marketing Certification course: Email Marketing and Your BusinessClass 1: Email Marketing Certification course: Email Marketing and Your Business
Class 1: Email Marketing Certification course: Email Marketing and Your BusinessHubSpot
 
HubSpot Diversity Data 2016
HubSpot Diversity Data 2016HubSpot Diversity Data 2016
HubSpot Diversity Data 2016HubSpot
 
Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...
Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...
Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...HubSpot
 
Add the Women Back: Wikipedia Edit-a-Thon
Add the Women Back: Wikipedia Edit-a-ThonAdd the Women Back: Wikipedia Edit-a-Thon
Add the Women Back: Wikipedia Edit-a-ThonHubSpot
 

Viewers also liked (19)

Federal and Local Resiliency Planning in the Wake of Hurricane Sandy
Federal and Local Resiliency Planning in the Wake of Hurricane SandyFederal and Local Resiliency Planning in the Wake of Hurricane Sandy
Federal and Local Resiliency Planning in the Wake of Hurricane Sandy
 
22 poetas mexicanos actuales
22 poetas mexicanos actuales22 poetas mexicanos actuales
22 poetas mexicanos actuales
 
Medidas de tendencia central%2c posición y de
Medidas de tendencia central%2c posición y deMedidas de tendencia central%2c posición y de
Medidas de tendencia central%2c posición y de
 
Propuesta de un nuevo concepto de currículo
Propuesta de un nuevo concepto de currículoPropuesta de un nuevo concepto de currículo
Propuesta de un nuevo concepto de currículo
 
InterTech provides top engineering services in Qatar
InterTech provides top engineering services in QatarInterTech provides top engineering services in Qatar
InterTech provides top engineering services in Qatar
 
Las cooperativas
Las cooperativasLas cooperativas
Las cooperativas
 
El relieve de europa
El relieve de europaEl relieve de europa
El relieve de europa
 
Gdd 23 05
Gdd 23 05Gdd 23 05
Gdd 23 05
 
08 gifts of the spirit
08 gifts of the spirit08 gifts of the spirit
08 gifts of the spirit
 
The future of insurance distribution: New models for a digital customer
The future of insurance distribution: New models for a digital customerThe future of insurance distribution: New models for a digital customer
The future of insurance distribution: New models for a digital customer
 
GoogleのSHA-1のはなし
GoogleのSHA-1のはなしGoogleのSHA-1のはなし
GoogleのSHA-1のはなし
 
How to Earn the Attention of Today's Buyer
How to Earn the Attention of Today's BuyerHow to Earn the Attention of Today's Buyer
How to Earn the Attention of Today's Buyer
 
25 Discovery Call Questions
25 Discovery Call Questions25 Discovery Call Questions
25 Discovery Call Questions
 
Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...
Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...
Modern Prospecting Techniques for Connecting with Prospects (from Sales Hacke...
 
Class 1: Email Marketing Certification course: Email Marketing and Your Business
Class 1: Email Marketing Certification course: Email Marketing and Your BusinessClass 1: Email Marketing Certification course: Email Marketing and Your Business
Class 1: Email Marketing Certification course: Email Marketing and Your Business
 
HubSpot Diversity Data 2016
HubSpot Diversity Data 2016HubSpot Diversity Data 2016
HubSpot Diversity Data 2016
 
Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...
Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...
Why People Block Ads (And What It Means for Marketers and Advertisers) [New R...
 
Add the Women Back: Wikipedia Edit-a-Thon
Add the Women Back: Wikipedia Edit-a-ThonAdd the Women Back: Wikipedia Edit-a-Thon
Add the Women Back: Wikipedia Edit-a-Thon
 
Capitulo4
Capitulo4Capitulo4
Capitulo4
 

Similar to AMP: The Good, The Bad, and The Ugly

Web Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP MeetupWeb Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP MeetupJonathan Klein
 
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16Sean Malseed
 
Even faster web sites presentation 3
Even faster web sites presentation 3Even faster web sites presentation 3
Even faster web sites presentation 3Felipe Lavín
 
Scale, baby, scale!
Scale, baby, scale!Scale, baby, scale!
Scale, baby, scale!Julien SIMON
 
AMP - SMX München 2018
AMP - SMX München 2018AMP - SMX München 2018
AMP - SMX München 2018Bastian Grimm
 
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Katie Sylor-Miller
 
Scaling wix.com to 100 million users
Scaling wix.com to 100 million users Scaling wix.com to 100 million users
Scaling wix.com to 100 million users Aviran Mordo
 
Exploring Critical Rendering Path
Exploring Critical Rendering PathExploring Critical Rendering Path
Exploring Critical Rendering PathRaphael Amorim
 
Web Client Performance
Web Client PerformanceWeb Client Performance
Web Client PerformanceHerea Adrian
 
Even faster web sites
Even faster web sitesEven faster web sites
Even faster web sitesFelipe Lavín
 
Frontend Performance: Illusions & browser rendering
Frontend Performance: Illusions & browser renderingFrontend Performance: Illusions & browser rendering
Frontend Performance: Illusions & browser renderingManuel Garcia
 
Performance Tuning - MuraCon 2012
Performance Tuning - MuraCon 2012Performance Tuning - MuraCon 2012
Performance Tuning - MuraCon 2012eballisty
 
A little journey into website optimization
A little journey into website optimizationA little journey into website optimization
A little journey into website optimizationStelian Firez
 
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Katie Sylor-Miller
 
Cache Optimization with Akamai
Cache Optimization with AkamaiCache Optimization with Akamai
Cache Optimization with AkamaiBlake Crosby
 
Spreadshirt Techcamp 2018 - Hold until Told
Spreadshirt Techcamp 2018 - Hold until ToldSpreadshirt Techcamp 2018 - Hold until Told
Spreadshirt Techcamp 2018 - Hold until ToldMartin Breest
 
The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018Anton Shulke
 
High Performance Web Sites, With Ads: Don't let third parties make you slow
High Performance Web Sites, With Ads: Don't let third parties make you slowHigh Performance Web Sites, With Ads: Don't let third parties make you slow
High Performance Web Sites, With Ads: Don't let third parties make you slowTobias Järlund
 

Similar to AMP: The Good, The Bad, and The Ugly (20)

Web Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP MeetupWeb Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP Meetup
 
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
 
Even faster web sites presentation 3
Even faster web sites presentation 3Even faster web sites presentation 3
Even faster web sites presentation 3
 
Scale, baby, scale!
Scale, baby, scale!Scale, baby, scale!
Scale, baby, scale!
 
AMP - SMX München 2018
AMP - SMX München 2018AMP - SMX München 2018
AMP - SMX München 2018
 
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
 
Scaling wix.com to 100 million users
Scaling wix.com to 100 million users Scaling wix.com to 100 million users
Scaling wix.com to 100 million users
 
Exploring Critical Rendering Path
Exploring Critical Rendering PathExploring Critical Rendering Path
Exploring Critical Rendering Path
 
Web Client Performance
Web Client PerformanceWeb Client Performance
Web Client Performance
 
Even faster web sites
Even faster web sitesEven faster web sites
Even faster web sites
 
Scaling 101 test
Scaling 101 testScaling 101 test
Scaling 101 test
 
Scaling 101
Scaling 101Scaling 101
Scaling 101
 
Frontend Performance: Illusions & browser rendering
Frontend Performance: Illusions & browser renderingFrontend Performance: Illusions & browser rendering
Frontend Performance: Illusions & browser rendering
 
Performance Tuning - MuraCon 2012
Performance Tuning - MuraCon 2012Performance Tuning - MuraCon 2012
Performance Tuning - MuraCon 2012
 
A little journey into website optimization
A little journey into website optimizationA little journey into website optimization
A little journey into website optimization
 
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
 
Cache Optimization with Akamai
Cache Optimization with AkamaiCache Optimization with Akamai
Cache Optimization with Akamai
 
Spreadshirt Techcamp 2018 - Hold until Told
Spreadshirt Techcamp 2018 - Hold until ToldSpreadshirt Techcamp 2018 - Hold until Told
Spreadshirt Techcamp 2018 - Hold until Told
 
The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018
 
High Performance Web Sites, With Ads: Don't let third parties make you slow
High Performance Web Sites, With Ads: Don't let third parties make you slowHigh Performance Web Sites, With Ads: Don't let third parties make you slow
High Performance Web Sites, With Ads: Don't let third parties make you slow
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

AMP: The Good, The Bad, and The Ugly

  • 2.
  • 3. Numbers 1 Million - Distinct AMP articles rendered per day. 440k - The size of the average canonical page CSS. 31k - The size of the average AMP page CSS 600ms - Time to convert, from cold, a typical page. 100ms - CPU Time to convert a Page 1 Second - Median DOM Content Loaded. 3
  • 4. HTML to AMPHTML Is Easy
 Mostly. 4
  • 5. 440K > 50K What do you mean I only have 50K for CSS? 5
  • 6. CSS is like that storage unit your in laws have.
 6
  • 7. The One Big CSS File Model Should Die 7
  • 8. Filter the CSS and only include the rules in use. Sounds Easy Enough … 8
  • 9. CSS Filtering: It doesn’t matter what matches,
 just that something does. Or rather that nothing does… 9
  • 10. Find all the Things 10
  • 11. Check Each Part .foo .bar a.baz { … } If any one part isn’t in the dom delete the selector. If you’ve deleted all the selectors delete the CSS block. 10 X Faster than $(“.foo .bar a.baz”) 11
  • 12. Still Too Big? Rename All The Things .header-very-long-class-name -> .cd #veryDescriptiveIdThatIsUsedOnce -> #de Watch out for [class^=“very-long-class-“] and amp-* 12
  • 13. !important (who named it not important?) 13
  • 16. Enough of CSS - HTML Edge Cases <iframes are us> If it’s an <iframe> and it can be https make it an <amp-iframe> Lots of things can be HTTPS they just don’t admit it. Examples: Storify, SurveyGizmo, ispot.tv, ABC TV embeds,
 C-Span, Kickstarter, gfycat, giphy, livestream 16
  • 17. Shims all the way down. Resizable JS element with a shim: Disqus Comments. AMP Page -> <amp-iframe> (shim) -> <regular iframe> Shim listens for resize events from regular iframe, passes to AMP Remember to add placeholder and overflow elements. Sample: https://storage.googleapis.com/relay-media-assets/ players/disqus-shim.html 17
  • 18. amp-list - Not Just for Lists 18
  • 19. amp-list - Not Just for Lists 19
  • 20. For a Fist Full of Dollars Put Ads in the Content 300x250 after paragraph 2 300x250’s every N paragraphs. 20
  • 21. For a Few Dollars More You need more that DFP -> ADX Nativo, Teads Private exchanges Make sure your video pre-roll works. Include Direct Sold 21
  • 22. Use amp-experiment to Test Ads and UX data-loading-strategy=“prefer-viewability-over-views” amp-sticky-ad vs 320x50 top banner What elements are “road blocks” that cause people to stop reading? 22
  • 23. Your Logo Is Important 23
  • 24. Don’t Just Use The Masthead Logo 24
  • 26. AMP In A Hurricane 26
  • 27. 27
  • 28. Parting thoughts You don’t ‘do amp’ and leave it. Validate Every Page. 28