Even Faster Web Sites: Performance Best Practices for Web Developers

Even Faster Web Sites: Performance Best Practices for Web Developers


$32.53 $34.99 Save 7% Current price is $32.53, Original price is $34.99. You Save 7%.
View All Available Formats & Editions
Use Standard Shipping. For guaranteed delivery by December 24, use Express or Expedited Shipping.

Product Details

ISBN-13: 9780596522308
Publisher: O'Reilly Media, Incorporated
Publication date: 06/17/2009
Edition description: Original
Pages: 256
Product dimensions: 6.90(w) x 9.10(h) x 0.60(d)

About the Author

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.

Table of Contents

How This Book Is Organized;
Conventions Used in This Book;
Comments and Questions;
Using Code Examples;
Safari® Books Online;
Chapter 1: Understanding Ajax Performance;
1.1 Trade-offs;
1.2 Principles of Optimization;
1.3 Ajax;
1.4 Browser;
1.5 Wow!;
1.6 JavaScript;
1.7 Summary;
Chapter 2: Creating Responsive Web Applications;
2.1 What Is Fast Enough?;
2.2 Measuring Latency;
2.3 Threading;
2.4 Ensuring Responsiveness;
2.5 Summary;
Chapter 3: Splitting the Initial Payload;
3.1 Kitchen Sink;
3.2 Savings from Splitting;
3.3 Finding the Split;
3.4 Undefined Symbols and Race Conditions;
3.5 Case Study: Google Calendar;
Chapter 4: Loading Scripts Without Blocking;
4.1 Scripts Block;
4.2 Making Scripts Play Nice;
4.3 Browser Busy Indicators;
4.4 Ensuring (or Avoiding) Ordered Execution;
4.5 Summarizing the Results;
4.6 And the Winner Is;
Chapter 5: Coupling Asynchronous Scripts;
5.1 Code Example: menu.js;
5.2 Race Conditions;
5.3 Preserving Order Asynchronously;
5.4 Multiple External Scripts;
5.5 General Solution;
5.6 Asynchronicity in the Real World;
Chapter 6: Positioning Inline Scripts;
6.1 Inline Scripts Block;
6.2 Preserving CSS and JavaScript Order;
6.3 Danger: Stylesheet Followed by Inline Script;
Chapter 7: Writing Efficient JavaScript;
7.1 Managing Scope;
7.2 Efficient Data Access;
7.3 Flow Control;
7.4 String Optimization;
7.5 Avoid Long-Running Scripts;
7.6 Summary;
Chapter 8: Scaling with Comet;
8.1 How Comet Works;
8.2 Transport Techniques;
8.3 Cross-Domain;
8.4 Effects of Implementation on Applications;
8.5 Summary;
Chapter 9: Going Beyond Gzipping;
9.1 Why Does This Matter?;
9.2 What Causes This?;
9.3 How to Help These Users?;
Chapter 10: Optimizing Images;
10.1 Two Steps to Simplify Image Optimization;
10.2 Image Formats;
10.3 Automated Lossless Image Optimization;
10.4 Alpha Transparency: Avoid AlphaImageLoader;
10.5 Optimizing Sprites;
10.6 Other Image Optimizations;
10.7 Summary;
Chapter 11: Sharding Dominant Domains;
11.1 Critical Path;
11.2 Who’s Sharding?;
11.3 Downgrading to HTTP/1.0;
11.4 Rolling Out Sharding;
Chapter 12: Flushing the Document Early;
12.1 Flush the Head;
12.2 Output Buffering;
12.3 Chunked Encoding;
12.4 Flushing and Gzip;
12.5 Other Intermediaries;
12.6 Domain Blocking During Flushing;
12.7 Browsers: The Last Hurdle;
12.8 Flushing Beyond PHP;
12.9 The Flush Checklist;
Chapter 13: Using Iframes Sparingly;
13.1 The Most Expensive DOM Element;
13.2 Iframes Block Onload;
13.3 Parallel Downloads with Iframes;
13.4 Connections per Hostname;
13.5 Summarizing the Cost of Iframes;
Chapter 14: Simplifying CSS Selectors;
14.1 Types of Selectors;
14.2 The Key to Efficient CSS Selectors;
14.3 CSS Selector Performance;
14.4 Measuring CSS Selectors in the Real World;
Performance Tools;
Packet Sniffers;
Web Development Tools;
Performance Analyzers;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Even Faster Web Sites: Performance Best Practices for Web Developers 4.5 out of 5 based on 0 ratings. 6 reviews.
conceptDawg on LibraryThing 22 days ago
Good book. Small but packed with information. It's really only useful for developers that are running high-traffic sites. If you're not getting 100k visitors per day then many of the ideas will be overkill. But if you are getting that kind of traffic then most of the ideas will be things that you will need to be looking into.
lukeasrodgers on LibraryThing 22 days ago
While this book contains information of use to any web developer (particularly the chapters about JavaScript and image optimization), some of the information will be relevant only for those working on larger-scale websites (e.g. the use of Comet and web workers).I found the chapters on loading JavaScript without blocking other downloads, and position of inline scripts to be particularly useful, though these aren't things I would generally worry about too much on lower traffic websites.
szarka on LibraryThing 22 days ago
Steve Souders has been a leader in documenting and evangelizing techniques for improving web site performance, and his previous book High Performance Web Sites: Essential Knowledge for Front-End Engineers (or the web posting from which it evolved) is essential reading. Even Faster Web Sites is not an updating of that book, but a collection of additional advice from Souders and eight contributors. So the first thing to note is that you should probably only tackle this book if you've already mastered the techniques outlined in High Performance Web Sites.The one exception to the advice above may be if you're a web developer who makes heavy use of Javascript, since over half of this book is devoted to AJAX. The remainder of the book addresses a variety of topics of interest to web development professionals in general: optimizing images, writing efficient CSS, advanced techniques for implementing gzipping, and more.As with Souders' previous book, there is little that will be new to professionals who've kept up with best practices via blogs and the like, but it's still nice to have all the information in one handy book. For those who are just starting to investigate web performance optimization, High Performance Web Sites plus Even Faster Web Sites will get you up to speed quickly.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago