SlideShare ist ein Scribd-Unternehmen logo
1 von 90
Downloaden Sie, um offline zu lesen
#WDC14
3RD PARTY FOOTPRINT
BARBARA BERMES | @BBINTO
A PUBLISHER'S TAKE ON CONTROLLING 3RD PARTY SCRIPTS
#WDC14
I LIVE IN TORONTO, CANADA
#WDC14
I LOVE BURRITOS
#WDC14
I’M PASSIONATE ABOUT WEB PERF
#WDC14
LET’S GET THIS PARTY STARTED
#WDC14
–Ben Vinegar, Author of “Third-Party Script”
“In the strictest sense, anything served to the
client that’s provided by an organization that’s
not the website provider is considered to be
third-party”
#WDC14
TYPES OF 3RD PARTY SCRIPTS
Ads
Tracking and Analytics
Fonts
Social Media
Libraries and Frameworks
#WDC14
WHAT’S THE #1 USED 3RD SCRIPT?
#WDC14
STATS FROM BIG QUERY
#WDC14
#WDC14
31%
34.5%
38%
2011 2013 2014
32%
36%
38%
3rd party content
DISTRIBUTION OF 3RD PARTY SCRIPTS VS. 1ST PARTY
#WDC14
#WDC14
Advertising
Analytics
Personalization
Marketing
Tag Management
Search
Social Media
0 25 50 75 100
23
45
53
53
62
92
92
Percentage of sites with each third party function present
Source: Intechnica - The impact of third party content on retail web performance
#WDC14
VISUALIZE THE IMPACT OF
3RD PARTY SCRIPTS
#WDC14
#WDC14
#WDC14
#WDC14
FOREIGN CONTENT OVERLOAD
#WDC14
EXAMPLE: WIRED
#WDC14
#WDC14
BUT WHAT’S THE ISSUE?
#WDC14
THINGS TO TALK ABOUT TODAY
#WDC14
THE ISSUES AND NEGATIVE IMPACTS
Performance

Front-end Single Point of Failure (SPOF) 

Privacy

#WDC14
POTENTIAL SOLUTIONS
Safe snippets

Caching and Hosted Libraries

Tools and Initiatives
#WDC14
PERFORMANCE
#WDC14
The value you get out of the widget needs to be
greater than the performance hit you are taking
- John Hjelmstad

Google I/O 2012 (How we Make JavaScript Widgets Scream)
RULE OF THUMB
#WDC14
A user who has to endure an 8-second download delay
spends only 1% of their total viewing time looking at the
featured promotional space on a landing page.
In contrast, a user who receives instantaneous page rendering
spends 20% of viewing time within the promotional area 



(source: Jakob Nielsen)
PERCEPTION OF PROMOTIONAL SPACE
#WDC14
WHAT WOULD A LIFE WITHOUT ADS FEEL LIKE?
#WDC14
THE PERFORMANCE IMPACT OF ADS
#WDC14
#WDC14
Using no (client-side) ad
code reduced CBC’s
page load time by 40%
40%
<script/>
#WDC14
MONITOR FOREIGN CONTENT,
CONSTANTLY!
#WDC14
ArithmeticMeanins
0
2.5
5
7.5
10
10/4/12 10/31/12
BAD 3RD PARTIES (CBC TOUCH SITE)
Smooth sailing
Client-side Ads
Ads turned off
Server-side Ads


Source: Keynote Daily Reports

We noticed a spike
#WDC14
#WDC14
SINGLE POINT OF FAILURE
#WDC14
A single point of failure (SPOF) is a part of a system that, if
it fails, will stop the entire system from working
–Wikipedia
#WDC14
THE OFFENDER
It will block rendering anything after this line
#WDC14
YEAH….BUT DO THIRD PARTY PROVIDERS
EVER GO DOWN??
#WDC14
OH YES. THEY DO!
#WDC14#WDC14
#WDC14#WDC14
#WDC14#WDC14
#WDC14
THE GREAT FIREWALL OF CHINA
#WDC14
SIMULATING SPOF ON TECHCRUNCH
#WDC14
#WDC14
SPOF-O-Matic
#WDC14
#WDC14#WDC14
#WDC14
SPOF WIRED
Without SPOF
With SPOF: Visually complete 40s
#WDC14
LET’S CRASH THE PARTY
#WDC14#WDC14
#WDC14
#WDC14#WDC14
#WDC14#WDC14
#WDC14
INITIALIZING CLIENT-SIDE SCRIPTS
#WDC14
ASYNC OR DEFER JS
#WDC14
ASYNC OR DEFER JS
#WDC14
SAFEST WAY: DYNAMIC SCRIPT TAG

(to cover most of the browsers)
#WDC14
ASYNCHRONOUS LOADING
http://www.phpied.com/social-button-bffs/
#WDC14
ASYNCHRONOUS LOADING
#WDC14
ASYNCHRONOUS LOADING
#WDC14
ASYNCHRONOUS LOADING
#WDC14
ASYNCHRONOUS LOADING
#WDC14
ASYNCHRONOUS LOADING
#WDC14
ASYNCHRONOUS LOADING
#WDC14
BEFORE
#WDC14
5 seconds 25 seconds
#WDC14
AFTER
#WDC14
AFTER
5 seconds
#WDC14
PREVENTION!
PROTECT YOURSELF WITH THE HELP OF TOOLS
#WDC14
CACHING?
Don’t always rely on it!
#WDC14
CACHE POLICIES
30min.
30 min
12 hrs
20 min
1 hr
336 hrs
no cache
1 hr
3 min
#WDC14
#WDC14
HOSTED LIBRARIES?
#WDC14
DON’T JUST COPY AND PASTE
#WDC14
#WDC14
SPOF ALERT
#WDC14
DON’T DO THIS….
#WDC14
RATHER DO THIS: SILENTLY FAIL
#WDC14
Other
55%
1.7.2
14%
1.7.1
13%
1.10.2
9%
1.8.3
9%
GOOGLE’S HOSTED JQUERY FRAGMENTATION
Source: March 2014, Big Query result on jQuery from Google CDNs
#WDC14
SO, WHATS THE VERDICT:
HOSTED LIBRARIES OR NOT?
#WDC14
PRIVACY
#WDC14
“The Like button is the quickest way
for people to share content with their
friends.
A single click on the Like button will
'like' pieces of content on the web
and share them on Facebook.”
#WDC14
What they don’t tell you….
Track the visited website, your
IP, and more….????
Did you agree to that?
!
#WDC14
OPEN SOURCE INITIATIVES 

AND RESOURCES
#WDC14
PRIVACY HERO
HEISE’S OPT-IN SOLUTION
#WDC14#WDC14
#WDC14
3RD PARTY PERF HEROES
PHILIP TELLIS & STOYAN STEFANOV
#WDC14#WDC14
#WDC14
JSMANNERS
#WDC14#WDC14
#WDC14
CONTRIBUTE ON GITHUB!
https://github.com/triblondon/thirdpartysla
#WDC14
#WDC14
NEXT TIME BEFORE YOU COPY AND PASTE
#WDC14
WHAT TO DO AS A PUBLISHER & DEVELOPER
• Refuse 3rd party content that doesn’t provide async options
• Put the risk in the SLA (uptime etc.)
• Review jsmanners
• Educate other (junior) developers
#WDC14
• Ask for server-side options
• Evaluate tag managers
• Investigate hosted libraries (if no own CDN is available)
• Monitor, monitor, ….and monitor
WHAT TO DO AS A PUBLISHER & DEVELOPER
#WDC14
WHAT TO DO AS A SCRIPT PROVIDER
• Provide non-blocking code samples and snippets
• Educate developers and verify the integration of your script developers
(proof-check)
#WDC14
THE PARTY’S OVER
!
THANK YOU
#WDC14
QUESTIONS?
http://bit.ly/wdc14-3rdparty

Weitere ähnliche Inhalte

Ähnlich wie 3rd party footprint - A PUBLISHER'S TAKE ON CONTROLLING 3RD PARTY SCRIPTS

How you can help associations reach more participants with hybrid events - #I...
How you can help associations reach more participants with hybrid events - #I...How you can help associations reach more participants with hybrid events - #I...
How you can help associations reach more participants with hybrid events - #I...
Gerrit Heijkoop
 

Ähnlich wie 3rd party footprint - A PUBLISHER'S TAKE ON CONTROLLING 3RD PARTY SCRIPTS (20)

Content Jam 2016: Get Scrappy: Smarter Content for Business Big and Small wit...
Content Jam 2016: Get Scrappy: Smarter Content for Business Big and Small wit...Content Jam 2016: Get Scrappy: Smarter Content for Business Big and Small wit...
Content Jam 2016: Get Scrappy: Smarter Content for Business Big and Small wit...
 
Optimizely Experience Chicago - Oli Gardner, Unbounce
Optimizely Experience Chicago - Oli Gardner, UnbounceOptimizely Experience Chicago - Oli Gardner, Unbounce
Optimizely Experience Chicago - Oli Gardner, Unbounce
 
"Adblock is a Boycott" Talk at #UXAwards
"Adblock is a Boycott" Talk at #UXAwards"Adblock is a Boycott" Talk at #UXAwards
"Adblock is a Boycott" Talk at #UXAwards
 
Make Them All Click! Fail-Safe Ways To Convert Your Leads
Make Them All Click! Fail-Safe Ways To Convert Your LeadsMake Them All Click! Fail-Safe Ways To Convert Your Leads
Make Them All Click! Fail-Safe Ways To Convert Your Leads
 
Viral is a Dirty Word
Viral is a Dirty WordViral is a Dirty Word
Viral is a Dirty Word
 
Intro to Snapchat for Nonprofits (webinar)
Intro to Snapchat for Nonprofits (webinar)Intro to Snapchat for Nonprofits (webinar)
Intro to Snapchat for Nonprofits (webinar)
 
Social Media Baby Steps WVCA Presentation
Social Media Baby Steps WVCA PresentationSocial Media Baby Steps WVCA Presentation
Social Media Baby Steps WVCA Presentation
 
QUIRKS - Janvier 2015
QUIRKS - Janvier 2015QUIRKS - Janvier 2015
QUIRKS - Janvier 2015
 
How you can help associations reach more participants with hybrid events - #I...
How you can help associations reach more participants with hybrid events - #I...How you can help associations reach more participants with hybrid events - #I...
How you can help associations reach more participants with hybrid events - #I...
 
4 Content Types Every College Should Create (and how to promote them)
4 Content Types Every College Should Create (and how to promote them)4 Content Types Every College Should Create (and how to promote them)
4 Content Types Every College Should Create (and how to promote them)
 
Social Media: Generating Leads and Beyond
Social Media: Generating Leads and BeyondSocial Media: Generating Leads and Beyond
Social Media: Generating Leads and Beyond
 
Utah DMC Presents: SEO Night - July 2019
Utah DMC Presents: SEO Night - July 2019Utah DMC Presents: SEO Night - July 2019
Utah DMC Presents: SEO Night - July 2019
 
Neil Henderson from Assembly - How To Run an ROI Positive campaign... and Hav...
Neil Henderson from Assembly - How To Run an ROI Positive campaign... and Hav...Neil Henderson from Assembly - How To Run an ROI Positive campaign... and Hav...
Neil Henderson from Assembly - How To Run an ROI Positive campaign... and Hav...
 
I´m not a number, I´m a free man
I´m not a number, I´m a free manI´m not a number, I´m a free man
I´m not a number, I´m a free man
 
AMC2014 Demystifying Mass Emailing with Free and Open Source Software
AMC2014 Demystifying Mass Emailing with Free and Open Source SoftwareAMC2014 Demystifying Mass Emailing with Free and Open Source Software
AMC2014 Demystifying Mass Emailing with Free and Open Source Software
 
Social Media Marketing Masterclass
Social Media Marketing MasterclassSocial Media Marketing Masterclass
Social Media Marketing Masterclass
 
Oli Gardner SMD Warsaw 2014 - Advanced Landing Page Optimization With Conve...
Oli Gardner  SMD Warsaw 2014  - Advanced Landing Page Optimization With Conve...Oli Gardner  SMD Warsaw 2014  - Advanced Landing Page Optimization With Conve...
Oli Gardner SMD Warsaw 2014 - Advanced Landing Page Optimization With Conve...
 
Beyond Cold Calling: Bridging Social Selling with Inside Sales for A Winning ...
Beyond Cold Calling: Bridging Social Selling with Inside Sales for A Winning ...Beyond Cold Calling: Bridging Social Selling with Inside Sales for A Winning ...
Beyond Cold Calling: Bridging Social Selling with Inside Sales for A Winning ...
 
10 Digital Marketing Essentials For Technologists
10 Digital Marketing Essentials For Technologists10 Digital Marketing Essentials For Technologists
10 Digital Marketing Essentials For Technologists
 
Become a Google Analytics Ninja
Become a Google Analytics NinjaBecome a Google Analytics Ninja
Become a Google Analytics Ninja
 

Mehr von Barbara Bermes

Developing for Mobile Web
Developing for Mobile WebDeveloping for Mobile Web
Developing for Mobile Web
Barbara Bermes
 
Business Analysis - Essentials
Business Analysis - EssentialsBusiness Analysis - Essentials
Business Analysis - Essentials
Barbara Bermes
 

Mehr von Barbara Bermes (9)

Cheat Sheet to a Lean Website
Cheat Sheet to a Lean WebsiteCheat Sheet to a Lean Website
Cheat Sheet to a Lean Website
 
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSMWebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
 
The Canadian Public Broadcaster on a Diet: Slimming down for a whole nation
The Canadian Public Broadcaster on a Diet: Slimming down for a whole nationThe Canadian Public Broadcaster on a Diet: Slimming down for a whole nation
The Canadian Public Broadcaster on a Diet: Slimming down for a whole nation
 
The CBC on a diet - Slimming down for a whole nation
The CBC on a diet - Slimming down for a whole nationThe CBC on a diet - Slimming down for a whole nation
The CBC on a diet - Slimming down for a whole nation
 
Smartphones in Today's World
Smartphones in Today's WorldSmartphones in Today's World
Smartphones in Today's World
 
Building Energy-Efficient Websites
Building Energy-Efficient WebsitesBuilding Energy-Efficient Websites
Building Energy-Efficient Websites
 
Developing for Mobile Web
Developing for Mobile WebDeveloping for Mobile Web
Developing for Mobile Web
 
Business Analysis - Essentials
Business Analysis - EssentialsBusiness Analysis - Essentials
Business Analysis - Essentials
 
Mobile Web Performance - Velocity 2011
Mobile Web Performance - Velocity 2011Mobile Web Performance - Velocity 2011
Mobile Web Performance - Velocity 2011
 

Kürzlich hochgeladen

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 

3rd party footprint - A PUBLISHER'S TAKE ON CONTROLLING 3RD PARTY SCRIPTS