Skip to content

High Performance Web Sites Essential Knowledge for Front-End Engineers

Spend $50 to get a free DVD!

ISBN-10: 0596529309

ISBN-13: 9780596529307

Edition: 2007

Authors: Steve Souders

List price: $29.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

Want your web site to display more quickly? This book presents 14 specific rules that will cut 20% to 25% 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. There's no need to redesign your web site. The rules in High Performance Web Sites focus on what a web page does, and explain how you can optimize the performance of Ajax, CSS, JavaScript, Flash, and images --…    
Customers also bought

Book details

List price: $29.99
Copyright year: 2007
Publisher: O'Reilly Media, Incorporated
Publication date: 9/21/2007
Binding: Paperback
Pages: 168
Size: 7.00" wide x 9.50" long x 0.50" tall
Weight: 0.858
Language: English

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…    

Foreword
Preface
The Importance of Frontend Performance
Tracking Web Page Performance
Where Does the Time Go?
The Performance Golden Rule
HTTP Overview
Compression
Conditional GET Requests
Expires
Keep-Alive
There's More
Rule 1: Make Fewer HTTP Requests
Image Maps
CSS Sprites
Inline Images
Combined Scripts and Stylesheets
Conclusion
Rule 2: Use a Content Delivery Network
Content Delivery Networks
The Savings
Rule 3: Add an Expires Header
Expires Header
Max-Age and mod_expires
Empty Cache vs. Primed Cache
More Than Just Images
Revving Filenames
Examples
Rule 4: Gzip Components
How Compression Works
What to Compress
The Savings
Configuration
Proxy Caching
Edge Cases
Gzip in Action
Rule 5: Put Stylesheets at the Top
Progressive Rendering
Sleep.cgi
Blank White Screen
Flash of Unstyled Content
What's a Frontend Engineer to Do?
Rule 6: Put Scripts at the Bottom
Problems with Scripts
Parallel Downloads
Scripts Block Downloads
Worst Case: Scripts at the Top
Best Case: Scripts at the Bottom
Putting It in Perspective
Rule 7: Avoid CSS Expressions
Updating Expressions
Working Around the Problem
Conclusion
Rule 8: Make JavaScript and CSS External
Inline vs. External
Typical Results in the Field
Home Pages
The Best of Both Worlds
Rule 9: Reduce DNS Lookups
DNS Caching and TTLs
The Browser's Perspective
Reducing DNS Lookups
Rule 10: Minify JavaScript
Minification
Obfuscation
The Savings
Examples
Icing on the Cake
Rule 11: Avoid Redirects
Types of Redirects
How Redirects Hurt Performance
Alternatives to Redirects
Rule 12: Remove Duplicate Scripts
Duplicate Scripts-They Happen
Duplicate Scripts Hurt Performance
Avoiding Duplicate Scripts
Rule 13: Configure ETags
What's an ETag?
The Problem with ETags
ETags: Use 'Em or Lose 'Em
ETags in the Real World
Rule 14: Make Ajax Cacheable
Web 2.0, DHTML, and Ajax
Asynchronous = Instantaneous?
Optimizing Ajax Requests
Caching Ajax in the Real World
Deconstructing 10 Top Sites
Page Weight, Response Time, YSlow Grade
How the Tests Were Done
Amazon
AOL
CNN
eBay
Google
MSN
MySpace
Wikipedia
Yahoo!
YouTube
Index