Designing for Performance
Why bother? http://assets.en.oreilly.com/1/event/29/Keynote%20Presentation%202.pdf
 
The  Performance Bible
 
Rule #1: Make Fewer Http  Requests
 
 
 
Un-Spriteable images
 
login.js global.js combined.js -> Development Production ->
External JavaScript & CSS
2) Use a CDN
3) Use Expires Headers
Cache-Control: max-age=315360000
www.slideshare.net/combined.css?v=123456 www.slideshare.net/combined.css?v=435678 <generate new version of combined.css,  ...
External CSS & Javascript WITHOUT Far-future expires headers
External Images without far-future expires headers
Measuring Client-Side Performance
Server-Side Performance
Understand where your bottlenecks are
memcached
 
 
Be Lazy
Think Ahead!
Building performance into your culture
Upcoming SlideShare
Loading in …5
×

Design for performance

1,415 views

Published on

Published in: Business
  • Be the first to comment

  • Be the first to like this

Design for performance

  1. 1. Designing for Performance
  2. 2. Why bother? http://assets.en.oreilly.com/1/event/29/Keynote%20Presentation%202.pdf
  3. 4. The Performance Bible
  4. 6. Rule #1: Make Fewer Http Requests
  5. 10. Un-Spriteable images
  6. 12. login.js global.js combined.js -> Development Production ->
  7. 13. External JavaScript & CSS
  8. 14. 2) Use a CDN
  9. 15. 3) Use Expires Headers
  10. 16. Cache-Control: max-age=315360000
  11. 17. www.slideshare.net/combined.css?v=123456 www.slideshare.net/combined.css?v=435678 <generate new version of combined.css, since one of the css files changed>
  12. 18. External CSS & Javascript WITHOUT Far-future expires headers
  13. 19. External Images without far-future expires headers
  14. 20. Measuring Client-Side Performance
  15. 21. Server-Side Performance
  16. 22. Understand where your bottlenecks are
  17. 23. memcached
  18. 26. Be Lazy
  19. 27. Think Ahead!
  20. 28. Building performance into your culture

×