CS193H: High Performance Web Sites Lecture 1: Introduction - PowerPoint PPT Presentation

julianna
cs193h high performance web sites lecture 1 introduction n.
Skip this Video
Loading SlideShow in 5 Seconds..
CS193H: High Performance Web Sites Lecture 1: Introduction PowerPoint Presentation
Download Presentation
CS193H: High Performance Web Sites Lecture 1: Introduction

play fullscreen
1 / 11
Download Presentation
CS193H: High Performance Web Sites Lecture 1: Introduction
94 Views
Download Presentation

CS193H: High Performance Web Sites Lecture 1: Introduction

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. CS193H:High Performance Web SitesLecture 1: Introduction Steve Souders Google souders@cs.stanford.edu

  2. Speed Matters users notice pride in our work engineering best practices Google: +500 ms  -20% traffic* Amazon: +100 ms  -1% sales* *http://home.blarg.net/~glinden/StanfordDataMining.2006-11-29.ppt

  3. the road here 1979-83 – University of Virginia, BS System Eng 1983-85 – SAIC 1985-91 – Advanced Decision Systems 1987-89 – Stanford University, MS EES 1991-95 – Helix Systems (co-founder) 1995-96 – General Magic 1996-98 – Dialog 1998-2000 – WhoWhere?, Lycos 1999-2000 – CoolSync (co-founder) 2000-07 – Yahoo! 2008 – Google

  4. 14 Rules • Make fewer HTTP requests • Use a CDN • Add an Expires header • Gzip components • Put stylesheets at the top • Put scripts at the bottom • Avoid CSS expressions • Make JS and CSS external • Reduce DNS lookups • Minify JS • Avoid redirects • Remove duplicate scripts • Configure ETags • Make AJAX cacheable

  5. YSlow High Performance Web Sites

  6. http://conferences.oreilly.com/velocity/ June 22-24, 2009

  7. Evangelism Conferences Web 2.0 Expo The Ajax Experience OSCON Google/IO SXSW Companies Yahoo! Amazon Zillow Microsoft Google Conferences WordCamp Future of Web Apps Widget Summit Velocity Rich Web Experience Companies Apple Netflix Twitter LinkedIn

  8. that leads us to CS193H What this class is not: a programming class a backend performance class (C++, Java, MySQL, etc.) about search engine optimization (SEO) about business performance What this class is: optimizing performance where it has the biggest impact: from the web server to the browser hands-on work with HTML, JavaScript, CSS, & HTTP applied research about the Web (including Web 2.0) a narrative about optimizing web pages at the end of which you'll understand how the Internet works

  9. CS193H Logistics Most information is on the class web site: http://cs193h.stevesouders.com/ Souders (\'sau-ders\) like "sour" or "ouch" souders@cs.stanford.edu Blog: http://stevesouders.com/blog/ Guest lecturers next week (I'm out)

  10. Class Requirements Firefox Edit HTML, JavaScript, CSS Web hosting(?) Web server configuration

  11. Homework Go to http://groups.google.com/group/cs193h-hpws and "Apply for group membership" Read HPWS, Chapter A: The Importance of Frontend Performance Bring your laptop