Web Perf Intro
Jeffery To
thingsthemselves.com
twitter: @jefferyto
slides: hre.ph/WebPerfIntro
Agenda
Why Optimize?
Negative Effects of Slowing Down
Positive Effects of Speeding Up
What to Optimize
Loading www.yahoo.com with an empty cache�yuiblog.com/blog/2006/11/28/performance-research-part-1/
80/20 Performance Rule
Percentage of Users and Page Views with an Empty Cache�yuiblog.com/blog/2007/01/04/performance-research-part-2/�
Empty Cache is Prevalent
Best Practices
1. Minimize HTTP Requests
2. Use a Content Delivery Network
3. Add an Expires or Cache-Control Header
4. Gzip Components
5. Put Stylesheets at the Top
6. Put Scripts at the Bottom
7. Avoid CSS Expressions
8. Make JavaScript and CSS External
9. Reduce DNS Lookups
10. Minify JavaScript and CSS
11. Avoid Redirects
12. Remove Duplicate Scripts
13. Configure ETags
14. Make Ajax Cacheable
Resources
Web Performance Reading
Web Performance Reading (cont.)
Development Reading
Performance Analysis Tools
Development Tools
Summary
Summary
Questions?
Thanks! :-)
Jeffery To
thingsthemselves.com
twitter: @jefferyto
slides: hre.ph/WebPerfIntro