CS193H: High Performance Web Sites Lecture 1: Introduction Steve Souders Google
Speed Matters users notice pride in our work engineering best practices Google: +500 ms -20% traffic * Amazon: +100 ms -1% sales * *
the road here – University of Virginia, BS System Eng – SAIC – Advanced Decision Systems – Stanford University, MS EES – Helix Systems (co-founder) – General Magic – Dialog – WhoWhere?, Lycos – CoolSync (co-founder) – Yahoo! 2008 – Google
14 Rules 1.Make fewer HTTP requests 2.Use a CDN 3.Add an Expires header 4.Gzip components 5.Put stylesheets at the top 6.Put scripts at the bottom 7.Avoid CSS expressions 8.Make JS and CSS external 9.Reduce DNS lookups 10.Minify JS 11.Avoid redirects 12.Remove duplicate scripts 13.Configure ETags 14.Make AJAX cacheable
High Performance Web Sites YSlow
June 22-24, 2009
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
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
CS193H Logistics Most information is on the class web site: Souders (\'sau-ders\) like "sour" or "ouch" Blog: Guest lecturers next week (I'm out)
Class Requirements Firefox Edit HTML, JavaScript, CSS Web hosting(?) Web server configuration
Homework Go to hpws and "Apply for group membership" hpws Read HPWS, Chapter A: The Importance of Frontend Performance Bring your laptop