• Save
Your Script Just Killed My Site
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Your Script Just Killed My Site

on

  • 5,803 views

All of us have a lurking failure in our websites: 3rd party scripts from ads, widgets, and analytics. How is it that one script can bring down your website?

All of us have a lurking failure in our websites: 3rd party scripts from ads, widgets, and analytics. How is it that one script can bring down your website?

Statistics

Views

Total Views
5,803
Views on SlideShare
5,445
Embed Views
358

Actions

Likes
9
Downloads
0
Comments
1

17 Embeds 358

http://new-twinspace.etwinning.net 100
http://faz.my 54
http://www.hakkalabs.co 51
http://g33ktalk.com 38
http://us-w1.rockmelt.com 30
http://lanyrd.com 20
http://webinars.moodlerooms.com 17
http://www2.fundacioninlea.org 15
http://www.fasos.org 14
http://www.onlydoo.com 8
https://twitter.com 3
http://www.scoop.it 2
http://vrindavijayan.blogspot.in 2
https://si0.twimg.com 1
http://drupalcafe.loc 1
http://127.0.0.1 1
http://hakka-staging.herokuapp.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Herve Leger V Neck Steel Metallic Foil Dress
    http://www.etooks.com/products/Herve-Leger-V-Neck-Steel-Metallic-Foil-Dress.html
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • http://www.flickr.com/photos/jocelynaubert/3100384270/
  • http://www.flickr.com/photos/darwinbell/465459020/
  • http://en.wikipedia.org/wiki/Single_point_of_failure
  • WidgetsAdsAnalytics
  • Later in the docs they talk about how the LATER resources are loaded async, but not this bootstrap script.All it takes is one.
  • http://httparchive.webpagetest.org/result/120401_40_WFQG/
  • http://httparchive.webpagetest.org/result/120515_5_4S4C/plusone.js and all.js are synchronous
  • http://httparchive.webpagetest.org/result/120515_0_DNT/glamadapt_jsrv.act is inserted by wChannelModule.act using document.writelikecool is ranked 11KGlam Media is “the leader in curated social media content”
  • http://httparchive.webpagetest.org/result/120301_AP_P4W3/rank #19Kall.js, widgets.js, eluminate.js all loaded sync
  • http://httparchive.webpagetest.org/result/120401_8H_VTA3/
  • http://httparchive.webpagetest.org/result/120315_VQ_QCZP/fonts
  • http://httparchive.webpagetest.org/result/120515_0_35V/Their own CSS file
  • http://www.flickr.com/photos/rusty-projector/225212919/Thanks for listening to my cautionary tale of dread and foreboding. But it’s not all doom and gloom.
  • There is a brighter future where snippets aren’t a frontend SPOF.
  • http://www.flickr.com/photos/darwinbell/465459020/

Your Script Just Killed My Site Presentation Transcript

  • 1. Your script just killed my sitestevesouders.com/docs/fluent-spof-20120530.pptxDisclaimer: This content does not necessarily reflect the opinions of my employer.
  • 2. SPOF
  • 3. synchronous scripts blockall following elementsfrom renderingin all browsers
  • 4. #fail
  • 5. async#failasync sync async
  • 6. Frontend SPOF
  • 7. http://www.webpagetest.org/result/120529_41_HWV/
  • 8. entire BODY blocked from rendering
  • 9. http://www.webpagetest.org/result/120529_41_HWV/
  • 10. mysql>
  • 11. mysql> select p.url, wptid
  • 12. mysql> select p.url, wptidfrom pages as p, requests as r
  • 13. mysql> select p.url, wptidfrom pages as p, requests as rwhere p.pageid >= 844954 andp.pageid <= 1564447 andp.pageid = r.pageid and
  • 14. mysql> select p.url, wptidfrom pages as p, requests as rwhere p.pageid >= 844954 andp.pageid <= 1564447 andp.pageid = r.pageid andrank < 20000 and
  • 15. mysql> select p.url, wptidfrom pages as p, requests as rwhere p.pageid >= 844954 andp.pageid <= 1564447 andp.pageid = r.pageid andrank < 20000 andresp_content_type like “%script%” and
  • 16. mysql> select p.url, wptidfrom pages as p, requests as rwhere p.pageid >= 844954 andp.pageid <= 1564447 andp.pageid = r.pageid andrank < 20000 andresp_content_type like “%script%” andtime > 10000 and
  • 17. mysql> select p.url, wptidfrom pages as p, requests as rwhere p.pageid >= 844954 andp.pageid <= 1564447 andp.pageid = r.pageid andrank < 20000 andresp_content_type like “%script%” andtime > 10000 andrenderStart > 10000
  • 18. mysql> select p.url, wptidfrom pages as p, requests as rwhere p.pageid >= 844954 andp.pageid <= 1564447 andp.pageid = r.pageid andrank < 20000 andresp_content_type like “%script%” andtime > 10000 andrenderStart > 10000group by p.pageid;
  • 19. what’s your website’sweakest link?