High Performance Web Sites: Essential Knowledge for Front-End Engineers (Google eBook)

Front Cover
"O'Reilly Media, Inc.", Sep 11, 2007 - Computers - 170 pages
33 Reviews

Want your web site to display more quickly? This book presents 14 specific rules that will cut 25% to 50% off response time when users request a page. Author Steve Souders, in his job as Chief Performance Yahoo!, collected these best practices while optimizing some of the most-visited pages on the Web. Even sites that had already been highly optimized, such as Yahoo! Search and the Yahoo! Front Page, were able to benefit from these surprisingly simple performance guidelines.

The rules in High Performance Web Sites explain how you can optimize the performance of the Ajax, CSS, JavaScript, Flash, and images that you've already built into your site -- adjustments that are critical for any rich web application. Other sources of information pay a lot of attention to tuning web servers, databases, and hardware, but the bulk of display time is taken up on the browser side and by the communication between server and browser. High Performance Web Sites covers every aspect of that process.

Each performance rule is supported by specific examples, and code snippets are available on the book's companion web site. The rules include how to:

  • Make Fewer HTTP Requests
  • Use a Content Delivery Network
  • Add an Expires Header
  • Gzip Components
  • Put Stylesheets at the Top
  • Put Scripts at the Bottom
  • Avoid CSS Expressions
  • Make JavaScript and CSS External
  • Reduce DNS Lookups
  • Minify JavaScript
  • Avoid Redirects
  • Remove Duplicates Scripts
  • Configure ETags
  • Make Ajax Cacheable

If you're building pages for high traffic destinations and want to optimize the experience of users visiting your site, this book is indispensable.

"If everyone would implement just 20% of Steve's guidelines, the Web would be adramatically better place. Between this book and Steve's YSlow extension, there's reallyno excuse for having a sluggish web site anymore."

-Joe Hewitt, Developer of Firebug debugger and Mozilla's DOM Inspector

"Steve Souders has done a fantastic job of distilling a massive, semi-arcane art down to a set of concise, actionable, pragmatic engineering steps that will change the world of web performance."

-Eric Lawrence, Developer of the Fiddler Web Debugger, Microsoft Corporation

  

What people are saying - Write a review

User ratings

5 stars
19
4 stars
9
3 stars
5
2 stars
0
1 star
0

Review: High Performance Web Sites

User Review  - Christoffer Klang - Goodreads

Most of the stuff in here are things that we take for granted today. On the one hand that leaves me with lots of respect for the material but on the other hand it feels like reading things you already ... Read full review

Review: High Performance Web Sites

User Review  - Trevan Hetzel - Goodreads

While a few years dated now, all of the points in this book are still relevant to speeding up modern websites. The first 4 or 5 chapters cover super important topics that every front-end web developer ... Read full review

Contents

The Importance of Frontend Performance
1
HTTP Overview
6
Make Fewer HTTP Requests
10
Use a Content Delivery Network
18
Add an Expires Header
22
Gzip Components
29
Put Stylesheets at the Top
37
Put Scripts at the Bottom
45
Reduce DNS Lookups
63
Minify JavaScript
69
Avoid Redirects
76
Remove Duplicate Scripts
85
Configure ETags
89
Make Ajax Cacheable
96
Deconstructing 10 Top Sites
103
Index
139

Avoid CSS Expressions
51
Make JavaScript and CSS External
55

Common terms and phrases

Popular passages

Page xvii - O'Reilly Network Safari Bookshelf. Safari offers a solution that's better than e-books. It's a virtual library that lets you easily search thousands of top tech books, cut and paste code samples, download BOOK* ONLIHI chapters, and find quick answers when you need the most accurate, current information.
Page 4 - HTTP specification was coordinated by the World Wide Web Consortium (W3C) and Internet Engineering Task Force (IETF), resulting in RFC 2616.

About the author (2007)

Steve Souders works at Google on web performance and open source initiatives. His books High Performance Web Sites and Even Faster Web Sites explain his best practices for performance along with the research and real-world results behind them. Steve is the creator of YSlow, the performance analysis extension to Firebug with more than 1 million downloads. He serves as co-chair of Velocity, the web performance and operations conference sponsored by O'Reilly. Steve taught CS193H: High Performance Web Sites at Stanford, and he frequently speaks at such conferences as OSCON, Rich Web Experience, Web 2.0 Expo, and The Ajax Experience. Steve previously worked at Yahoo! as the Chief Performance Yahoo!, where he blogged about web performance on Yahoo! Developer Network. He was named a Yahoo! Superstar. Steve worked on many of the platforms and products within the company, including running the development team for My Yahoo!. Prior to Yahoo! Steve worked at several small to mid-sized startups including two companies he co-founded, Helix Systems and CoolSync. He also worked at General Magic, WhoWhere?, and Lycos.

Bibliographic information