+612 9045 4394
 
CHECKOUT
High Performance Web Sites : Essential Knowledge for Front-end Engineers - Steve Souders

High Performance Web Sites

Essential Knowledge for Front-end Engineers

Paperback Published: 27th September 2007
ISBN: 9780596529307
Number Of Pages: 168

Share This Book:

Paperback

RRP $48.00
$32.75
32%
OFF
In Stock
Enter an Australian post code for delivery estimate

Earn 66 Qantas Points
on this Book

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 a dramatically better place. Between this book and Steve's YSlow extension, there's really no 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

Forewordp. xi
Prefacep. xiii
The Importance of Frontend Performancep. 1
Tracking Web Page Performancep. 1
Where Does the Time Go?p. 3
The Performance Golden Rulep. 4
HTTP Overviewp. 6
Compressionp. 7
Conditional GET Requestsp. 7
Expiresp. 8
Keep-Alivep. 8
There's Morep. 9
Rule 1: Make Fewer HTTP Requestsp. 10
Image Mapsp. 10
CSS Spritesp. 11
Inline Imagesp. 13
Combined Scripts and Stylesheetsp. 15
Conclusionp. 16
Rule 2: Use a Content Delivery Networkp. 18
Content Delivery Networksp. 19
The Savingsp. 20
Rule 3: Add an Expires Headerp. 22
Expires Headerp. 22
Max-Age and mod_expiresp. 23
Empty Cache vs. Primed Cachep. 24
More Than Just Imagesp. 25
Revving Filenamesp. 27
Examplesp. 28
Rule 4: Gzip Componentsp. 29
How Compression Worksp. 29
What to Compressp. 30
The Savingsp. 31
Configurationp. 31
Proxy Cachingp. 33
Edge Casesp. 34
Gzip in Actionp. 35
Rule 5: Put Stylesheets at the Topp. 37
Progressive Renderingp. 37
Sleep.cgip. 38
Blank White Screenp. 39
Flash of Unstyled Contentp. 43
What's a Frontend Engineer to Do?p. 43
Rule 6: Put Scripts at the Bottomp. 45
Problems with Scriptsp. 45
Parallel Downloadsp. 46
Scripts Block Downloadsp. 48
Worst Case: Scripts at the Topp. 49
Best Case: Scripts at the Bottomp. 49
Putting It in Perspectivep. 50
Rule 7: Avoid CSS Expressionsp. 51
Updating Expressionsp. 52
Working Around the Problemp. 52
Conclusionp. 54
Rule 8: Make JavaScript and CSS Externalp. 55
Inline vs. Externalp. 55
Typical Results in the Fieldp. 58
Home Pagesp. 58
The Best of Both Worldsp. 59
Rule 9: Reduce DNS Lookupsp. 63
DNS Caching and TTLsp. 63
The Browser's Perspectivep. 66
Reducing DNS Lookupsp. 68
Rule 10: Minify JavaScriptp. 69
Minificationp. 69
Obfuscationp. 70
The Savingsp. 70
Examplesp. 72
Icing on the Cakep. 73
Rule 11: Avoid Redirectsp. 76
Types of Redirectsp. 76
How Redirects Hurt Performancep. 77
Alternatives to Redirectsp. 79
Rule 12: Remove Duplicate Scriptsp. 85
Duplicate Scripts-They Happenp. 85
Duplicate Scripts Hurt Performancep. 86
Avoiding Duplicate Scriptsp. 87
Rule 13: Configure ETagsp. 89
What's an ETag?p. 89
The Problem with ETagsp. 91
ETags: Use 'Em or Lose 'Emp. 93
ETags in the Real Worldp. 94
Rule 14: Make Ajax Cacheablep. 96
Web 2.0, DHTML, and Ajaxp. 96
Asynchronous = Instantaneous?p. 98
Optimizing Ajax Requestsp. 99
Caching Ajax in the Real Worldp. 99
Deconstructing 10 Top Sitesp. 103
Page Weight, Response Time, YSlow Gradep. 103
How the Tests Were Donep. 105
Amazonp. 107
AOLp. 110
CNNp. 114
eBayp. 116
Googlep. 120
MSNp. 123
MySpacep. 127
Wikipediap. 130
Yahoo!p. 132
YouTubep. 135
Indexp. 139
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9780596529307
ISBN-10: 0596529309
Series: O'Reilly Ser.
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 168
Published: 27th September 2007
Publisher: John Wiley & Sons Publishers
Country of Publication: US
Dimensions (cm): 23.3 x 18.1  x 0.91
Weight (kg): 0.28

Earn 66 Qantas Points
on this Book