velocity wpo 20101207 steve souders

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

Upload: michael-zhang

Post on 10-May-2015

1.206 views

Category:

Technology


9 download

DESCRIPTION

5年前只有开发人员关心网站的性能。而今天认识到快速网站重要性的群体已经扩展至更广泛的范围,包括销售团队、市场部门、商业开发人员以及更高的管理层。这就导致一个新产业的出现──WPO(Web Performance Optimization ,网站性能优化)。现有的厂商在增加网站性能服务。创业公司则提供提高用户体验的新技术。主流网站在购买这些服务的同时自己也开发更多的服务和技术。采用WPO技术的网站能吸引更多的用户,提供更好的用户体验,增加收入,并且降低成本。5年来我们走了很长的一段路,让我们共同回顾一下在让网站变得更快的道路上的一些成就。

TRANSCRIPT

Page 1: Velocity WPO 20101207 steve souders

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 steve souders

2004

Page 3: Velocity WPO 20101207 steve souders

#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 steve souders

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

Page 5: Velocity WPO 20101207 steve souders

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

Page 6: Velocity WPO 20101207 steve souders

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

Page 7: Velocity WPO 20101207 steve souders

…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 steve souders

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 steve souders

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

Page 10: Velocity WPO 20101207 steve souders

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 steve souders
Page 12: Velocity WPO 20101207 steve souders

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 steve souders
Page 14: Velocity WPO 20101207 steve souders
Page 15: Velocity WPO 20101207 steve souders
Page 16: Velocity WPO 20101207 steve souders

drives traffic improves UX increases revenue reduces costs

flickr.com/photos/pedromourapinheiro/3123885534/

Web Performance Optimization

WPO

Page 17: Velocity WPO 20101207 steve souders

2004

Page 18: Velocity WPO 20101207 steve souders

#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 steve souders

Response Time, Page Weight, YSlow Grade

Page 20: Velocity WPO 20101207 steve souders

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 steve souders

WPO evolution

Page 22: Velocity WPO 20101207 steve souders

WPO evolution Yahoo! Boomerang

stevesouders.com/episodes

Jiffy

WebPagetest.org

ShowSlow.com

measure

Page 23: Velocity WPO 20101207 steve souders

WPO evolution Firebug

Fiddler

HttpWatch

Speed Tracer

Web Inspector

dynaTrace

measure profile

Page 24: Velocity WPO 20101207 steve souders

WPO evolution domain sharding

concatenation

sprites vs. MHTML

WebP

prefetch

SPDY, cwnd=10

measure profile research

Page 25: Velocity WPO 20101207 steve souders

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 steve souders

WPO evolution

Velocity China!

workshops

university

case studies

blogs

measure profile research best practices evangelize

Page 27: Velocity WPO 20101207 steve souders

WPO evolution

Page Speed

YSlow

measure profile research best practices evangelize lint

Page 28: Velocity WPO 20101207 steve souders

WPO evolution measure profile research best practices evangelize lint automate

Page 29: Velocity WPO 20101207 steve souders
Page 30: Velocity WPO 20101207 steve souders
Page 31: Velocity WPO 20101207 steve souders
Page 32: Velocity WPO 20101207 steve souders
Page 33: Velocity WPO 20101207 steve souders
Page 34: Velocity WPO 20101207 steve souders
Page 35: Velocity WPO 20101207 steve souders
Page 36: Velocity WPO 20101207 steve souders
Page 37: Velocity WPO 20101207 steve souders
Page 38: Velocity WPO 20101207 steve souders
Page 39: Velocity WPO 20101207 steve souders

Search

Page 40: Velocity WPO 20101207 steve souders

Shopping

Page 41: Velocity WPO 20101207 steve souders

flickr.com/photos/waltzaround/4041024134/

Ray Morgan Zappos.com

Makinde Adeagbo Facebook

Jenn Lukas Happy Cog

Page 42: Velocity WPO 20101207 steve souders

WPO evolution measure profile research best practices evangelize lint automate

for mobile

Page 43: Velocity WPO 20101207 steve souders

WPO evolution measure profile research best practices evangelize lint automate

for mobile

Page 44: Velocity WPO 20101207 steve souders
Page 45: Velocity WPO 20101207 steve souders
Page 46: Velocity WPO 20101207 steve souders

Steve Souders @souders

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