Your script just killed my site

Click here to load reader

  • date post

    15-Jan-2016
  • Category

    Documents

  • view

    24
  • download

    0

Embed Size (px)

description

Your script just killed my site. stevesouders.com /docs/fluent-spof-20120530.pptx. Disclaimer: This content does not necessarily reflect the opinions of my employer. SPOF. synchronous scripts block all following elements from rendering in all browsers. #fail. async. #fail. async. sync. - PowerPoint PPT Presentation

Transcript of Your script just killed my site

High Performance Web Sites 14 rules for faster-loading pages

Your script just killed my sitestevesouders.com/docs/fluent-spof-20120530.pptxDisclaimer: This content does not necessarily reflect the opinions of my employer.http://www.flickr.com/photos/jocelynaubert/3100384270/1

SPOFhttp://www.flickr.com/photos/darwinbell/465459020/2

http://en.wikipedia.org/wiki/Single_point_of_failure3

WidgetsAdsAnalytics4

synchronous scripts block all following elements from renderingin all browsers

#fail

async#failasyncasyncsync

Frontend SPOF

http://www.webpagetest.org/result/120529_41_HWV/

entire BODY blocked from renderingLater in the docs they talk about how the LATER resources are loaded async, but not this bootstrap script.All it takes is one.11

http://www.webpagetest.org/result/120529_41_HWV/

select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid 10000 andrenderStart > 10000 group by p.pageid;mysql> mysql> select p.url, wptid mysql> select p.url, wptid from pages as p, requests as r

mysql> select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid 10000 and

mysql> select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid 10000 andrenderStart > 10000 mysql> select p.url, wptid from pages as p, requests as r where p.pageid >= 844954 andp.pageid 10000 andrenderStart > 10000 group by p.pageid;mysql>

http://httparchive.webpagetest.org/result/120401_40_WFQG/24

http://httparchive.webpagetest.org/result/120515_5_4S4C/plusone.js and all.js are synchronous25

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

26

http://httparchive.webpagetest.org/result/120301_AP_P4W3/rank #19Kall.js, widgets.js, eluminate.js all loaded sync27

http://httparchive.webpagetest.org/result/120401_8H_VTA3/28

http://httparchive.webpagetest.org/result/120315_VQ_QCZP/fonts29

http://httparchive.webpagetest.org/result/120515_0_35V/Their own CSS file30

http://www.flickr.com/photos/rusty-projector/225212919/Thanks for listening to my cautionary tale of dread and foreboding. But its not all doom and gloom.31

There is a brighter future where snippets arent a frontend SPOF.32

whats your websites weakest link?http://www.flickr.com/photos/darwinbell/465459020/34