This book contains six guest chapters contributed by Dion Almaer, Doug Crockford, Ben Galbraith, Tony Gentilcore, Dylan Schiemann, Stoyan Stefanov, Nicole Sullivan, and Nicholas C. Zakas.
-
Chapter 1 Understanding Ajax Performance
-
Trade-offs
-
Principles of Optimization
-
Ajax
-
Browser
-
Wow!
-
JavaScript
-
Summary
-
-
Chapter 2 Creating Responsive Web Applications
-
What Is Fast Enough?
-
Measuring Latency
-
Threading
-
Ensuring Responsiveness
-
Summary
-
-
Chapter 3 Splitting the Initial Payload
-
Kitchen Sink
-
Savings from Splitting
-
Finding the Split
-
Undefined Symbols and Race Conditions
-
Case Study: Google Calendar
-
-
Chapter 4 Loading Scripts Without Blocking
-
Scripts Block
-
Making Scripts Play Nice
-
Browser Busy Indicators
-
Ensuring (or Avoiding) Ordered Execution
-
Summarizing the Results
-
And the Winner Is
-
-
Chapter 5 Coupling Asynchronous Scripts
-
Code Example: menu.js
-
Race Conditions
-
Preserving Order Asynchronously
-
Multiple External Scripts
-
General Solution
-
Asynchronicity in the Real World
-
-
Chapter 6 Positioning Inline Scripts
-
Inline Scripts Block
-
Preserving CSS and JavaScript Order
-
Danger: Stylesheet Followed by Inline Script
-
-
Chapter 7 Writing Efficient JavaScript
-
Managing Scope
-
Efficient Data Access
-
Flow Control
-
String Optimization
-
Avoid Long-Running Scripts
-
Summary
-
-
Chapter 8 Scaling with Comet
-
How Comet Works
-
Transport Techniques
-
Cross-Domain
-
Effects of Implementation on Applications
-
Summary
-
-
Chapter 9 Going Beyond Gzipping
-
Why Does This Matter?
-
What Causes This?
-
How to Help These Users?
-
-
Chapter 10 Optimizing Images
-
Two Steps to Simplify Image Optimization
-
Image Formats
-
Automated Lossless Image Optimization
-
Alpha Transparency: Avoid AlphaImageLoader
-
Optimizing Sprites
-
Other Image Optimizations
-
Summary
-
-
Chapter 11 Sharding Dominant Domains
-
Critical Path
-
Who’s Sharding?
-
Downgrading to HTTP/1.0
-
Rolling Out Sharding
-
-
Chapter 12 Flushing the Document Early
-
Flush the Head
-
Output Buffering
-
Chunked Encoding
-
Flushing and Gzip
-
Other Intermediaries
-
Domain Blocking During Flushing
-
Browsers: The Last Hurdle
-
Flushing Beyond PHP
-
The Flush Checklist
-
-
Chapter 13 Using Iframes Sparingly
-
The Most Expensive DOM Element
-
Iframes Block Onload
-
Parallel Downloads with Iframes
-
Connections per Hostname
-
Summarizing the Cost of Iframes
-
-
Chapter 14 Simplifying CSS Selectors
-
Types of Selectors
-
The Key to Efficient CSS Selectors
-
CSS Selector Performance
-
Measuring CSS Selectors in the Real World
-
-
Appendix Performance Tools
-
Packet Sniffers
-
Web Development Tools
-
Performance Analyzers
-
Miscellaneous
-
-
Colophon
- Title:
- Even Faster Web Sites
- By:
- Steve Souders
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- June 2009
- Ebook Release:
- June 2009
- Pages:
- 256
- Print ISBN:
- 978-0-596-52230-8
- | ISBN 10:
- 0-596-52230-4
- Ebook ISBN:
- 978-0-596-80414-5
- | ISBN 10:
- 0-596-80414-8
The animal on the cover of Even Faster Web Sites is a blackbuck antelope (Antilope cervicapra), an endangered species found mainly in India, also known as the Indian antelope. The V-shaped horns of the male blackbuck are ringed with several spiral twists and can be as long as 28 inches. The male's upper body is black or dark brown, and its belly and the rings around its eyes are white. The female is light brown and does not normally have a horn. Blackbucks roam the plains in herds of 15 to 20, feeding on grasses, flowers, and fruits. On the open plain, the blackbuck is one of the fastest animals on earth, able to reach speeds of 45 mph and outrun most predators over long distances.
From the 18th through the early 20th centuries, the blackbuck antelope was the most hunted wild animal in India. In 1932, several species of Indian deer and antelope, including the blackbuck, were introduced to Texas for hunting and breeding. Today, these species live on private hunting ranches and roam the surrounding hill country.They are so plentiful-having multiplied to 19,000 throughout the state-that many have been shipped to India to repopulate the native habitat.
Now protected in India by the Wildlife Protection Act of 1972, the blackbuck population is steady at 50,000 native animals, plus 43,000 descended from Texas and other populations. Although poaching is still a problem and humans have encroached on its land, its protected status gained attention in 2006 when Indian film star Salman Khan was sentenced to five years in jail for killing two blackbucks. According to Hindu mythology, the blackbuck is considered to be the vehicle of the moon god, Chandrama, and is believed to bestow prosperity wherever it lives.
The cover image is from the Dover Pictorial Archive. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.

