Velocity wpo-20101207 stevesouders

46
stevesouders.com/docs/velocity-wpo-20101207.pptx Disclaimer: This content does not necessarily reflect the opinions of my employer. WPO Industry is Here the

Transcript of Velocity wpo-20101207 stevesouders

Page 1: Velocity wpo-20101207 stevesouders

stevesouders.com/docs/velocity-wpo-20101207.pptx Disclaimer: This content does not necessarily reflect the opinions of my employer.

WPO Industry is Here

the

Page 2: Velocity wpo-20101207 stevesouders

2004

Page 3: Velocity wpo-20101207 stevesouders

#1. Speed: “First and foremost, we believe that speed is more than a feature. Speed is the most important feature.”

carsonified.com/blog/business/fred-wilsons-10-golden-principles-of-successful-web-apps/

Page 4: Velocity wpo-20101207 stevesouders

en.oreilly.com/velocity2009/public/schedule/detail/8523

Page 5: Velocity wpo-20101207 stevesouders

en.oreilly.com/velocity2009/public/schedule/detail/8523

Page 6: Velocity wpo-20101207 stevesouders

slideshare.net/stoyan/yslow-20-presentation slideshare.net/stoyan/dont-make-me-wait-or-building-highperformance-web-applications

Page 7: Velocity wpo-20101207 stevesouders

…shaved 2.2 seconds off the average page load time and increased download conversions by 15.4%!

blog.mozilla.com/metrics/category/website-optimization/

Page 8: Velocity wpo-20101207 stevesouders

blog.mozilla.com/metrics/category/website-optimization/

…shaved 2.2 seconds off the average page load time and increased download conversions by 15.4%!

en.oreilly.com/velocity2009/public/schedule/detail/7709

Page 9: Velocity wpo-20101207 stevesouders

en.oreilly.com/velocity2008/public/schedule/detail/3632

Page 10: Velocity wpo-20101207 stevesouders

Site speed in search rank

Screen shot of blog post …we've decided to take site speed into account in our search rankings.

googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html

Page 11: Velocity wpo-20101207 stevesouders
Page 12: Velocity wpo-20101207 stevesouders

Both combine scripts combine stylesheets add an Expires header gzip responses put stylesheets at the top put scripts at the bottom avoid CSS expressions make JS and CSS external reduce DNS lookups minify JS and CSS avoid redirects remove duplicate scripts make Ajax cacheable reduce cookie size use cookie-free domains don't scale images

YSlow use CSS sprites use a CDN configure ETags use GET for Ajax requests reduce # of DOM elements no 404s avoid image filters optimize favicon

Page Speed defer loading JS remove unused CSS use efficient CSS selectors optimize images optimize order of CSS & JS shard domains leverage proxy caching

Page 13: Velocity wpo-20101207 stevesouders
Page 14: Velocity wpo-20101207 stevesouders
Page 15: Velocity wpo-20101207 stevesouders
Page 16: Velocity wpo-20101207 stevesouders

drives traffic improves UX increases revenue reduces costs

flickr.com/photos/pedromourapinheiro/3123885534/

Web Performance Optimization

WPO

Page 17: Velocity wpo-20101207 stevesouders

2004

Page 18: Velocity wpo-20101207 stevesouders

#1. Speed: “First and foremost, we believe that speed is more than a feature. Speed is the most important feature.”

carsonified.com/blog/business/fred-wilsons-10-golden-principles-of-successful-web-apps/

Page 19: Velocity wpo-20101207 stevesouders

Response Time, Page Weight, YSlow Grade

Page 20: Velocity wpo-20101207 stevesouders

Strong Correlation

total page weight response time

inverse YSlow grade

correlation(resp time, page weight) = 0.94 correlation(inverse YSlow, resp time) = 0.76

correlation(inverse YSlow, page weight) = 0.59

Page 21: Velocity wpo-20101207 stevesouders

WPO evolution

Page 22: Velocity wpo-20101207 stevesouders

WPO evolution Yahoo! Boomerang

stevesouders.com/episodes

Jiffy

WebPagetest.org

ShowSlow.com

measure

Page 23: Velocity wpo-20101207 stevesouders

WPO evolution Firebug

Fiddler

HttpWatch

Speed Tracer

Web Inspector

dynaTrace

measure profile

Page 24: Velocity wpo-20101207 stevesouders

WPO evolution domain sharding

concatenation

sprites vs. MHTML

WebP

prefetch

SPDY, cwnd=10

measure profile research

Page 25: Velocity wpo-20101207 stevesouders

WPO evolution

High Performance & Even Faster Web Sites

High Performance JS code.google.com/speed/

developer.yahoo.com/performance/

stevesouders.com/blog

perfplanet.com/

measure profile research best practices

Page 26: Velocity wpo-20101207 stevesouders

WPO evolution

Velocity China!

workshops

university

case studies

blogs

measure profile research best practices evangelize

Page 27: Velocity wpo-20101207 stevesouders

WPO evolution

Page Speed

YSlow

measure profile research best practices evangelize lint

Page 28: Velocity wpo-20101207 stevesouders

WPO evolution measure profile research best practices evangelize lint automate

Page 29: Velocity wpo-20101207 stevesouders
Page 30: Velocity wpo-20101207 stevesouders
Page 31: Velocity wpo-20101207 stevesouders
Page 32: Velocity wpo-20101207 stevesouders
Page 33: Velocity wpo-20101207 stevesouders
Page 34: Velocity wpo-20101207 stevesouders
Page 35: Velocity wpo-20101207 stevesouders
Page 36: Velocity wpo-20101207 stevesouders
Page 37: Velocity wpo-20101207 stevesouders
Page 38: Velocity wpo-20101207 stevesouders
Page 39: Velocity wpo-20101207 stevesouders

Search

Page 40: Velocity wpo-20101207 stevesouders

Shopping

Page 41: Velocity wpo-20101207 stevesouders

flickr.com/photos/waltzaround/4041024134/

Ray Morgan Zappos.com

Makinde Adeagbo Facebook

Jenn Lukas Happy Cog

Page 42: Velocity wpo-20101207 stevesouders

WPO evolution measure profile research best practices evangelize lint automate

for mobile

Page 43: Velocity wpo-20101207 stevesouders

WPO evolution measure profile research best practices evangelize lint automate

for mobile

Page 44: Velocity wpo-20101207 stevesouders
Page 45: Velocity wpo-20101207 stevesouders
Page 46: Velocity wpo-20101207 stevesouders

Steve Souders @souders

stevesouders.com/docs/velocity-wpo-20101207.pptx flickr.com/photos/myklroventine/4062102754/