-
Chapter 1 The Importance of Frontend Performance
-
Tracking Web Page Performance
-
Where Does the Time Go?
-
The Performance Golden Rule
-
-
Chapter 2 HTTP Overview
-
Compression
-
Conditional GET Requests
-
Expires
-
Keep-Alive
-
There's More
-
-
Chapter 3 Rule 1: Make Fewer HTTP Requests
-
Image Maps
-
CSS Sprites
-
Inline Images
-
Combined Scripts and Stylesheets
-
Conclusion
-
-
Chapter 4 Rule 2: Use a Content Delivery Network
-
Content Delivery Networks
-
The Savings
-
-
Chapter 5 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
-
-
Chapter 6 Rule 4: Gzip Components
-
How Compression Works
-
What to Compress
-
The Savings
-
Configuration
-
Proxy Caching
-
Edge Cases
-
Gzip in Action
-
-
Chapter 7 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?
-
-
Chapter 8 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
-
-
Chapter 9 Rule 7: Avoid CSS Expressions
-
Updating Expressions
-
Working Around the Problem
-
Conclusion
-
-
Chapter 10 Rule 8: Make JavaScript and CSS External
-
Inline vs. External
-
Typical Results in the Field
-
Home Pages
-
The Best of Both Worlds
-
-
Chapter 11 Rule 9: Reduce DNS Lookups
-
DNS Caching and TTLs
-
The Browser's Perspective
-
Reducing DNS Lookups
-
-
Chapter 12 Rule 10: Minify JavaScript
-
Minification
-
Obfuscation
-
The Savings
-
Examples
-
Icing on the Cake
-
-
Chapter 13 Rule 11: Avoid Redirects
-
Types of Redirects
-
How Redirects Hurt Performance
-
Alternatives to Redirects
-
-
Chapter 14 Rule 12: Remove Duplicate Scripts
-
Duplicate Scripts—They Happen
-
Duplicate Scripts Hurt Performance
-
Avoiding Duplicate Scripts
-
-
Chapter 15 Rule 13: Configure ETags
-
What's an ETag?
-
The Problem with ETags
-
ETags: Use 'Em or Lose 'Em
-
ETags in the Real World
-
-
Chapter 16 Rule 14: Make Ajax Cacheable
-
Web 2.0, DHTML, and Ajax
-
Asynchronous = Instantaneous?
-
Optimizing Ajax Requests
-
Caching Ajax in the Real World
-
-
Chapter 17 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
-
-
Colophon
- Title:
- High Performance Web Sites
- By:
- Steve Souders
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- September 2007
- Ebook Release:
- December 2008
- Pages:
- 176
- Print ISBN:
- 978-0-596-52930-7
- | ISBN 10:
- 0-596-52930-9
- Ebook ISBN:
- 978-0-596-15876-7
- | ISBN 10:
- 0-596-15876-9
The animal on the cover of High Performance Web Sites is a greyhound.
The fastest dog in the world, a greyhound can reach speeds of up to 45 miles per hour, enabled by its streamlined, narrow body; large lungs, heart, and muscles; double suspension gallop (two periods of a gait when all four feet are off the ground); and the flexibility of its spine. Although greyhounds are incredibly fast, they are actually low-energy dogs and lack endurance, requiring less exercise time than most dogs. For this reason, they're often referred to as "45-mile-per-hour couch potatoes" because when not chasing smaller prey (such as rabbits and cats), they are content to spend their days sleeping.
Greyhounds are one of the oldest breeds of dogs, appearing in art and literature throughout history. In ancient Egypt, greyhounds were often mummified and buried with their owners, and hieroglyphics from 4000 B.C.E. show a dog closely resembling the modern greyhound. In Greek and Roman mythology, greyhounds were often depicted with gods and goddesses. Greyhounds appeared in the writings of Homer, Chaucer, Shakespeare, and Cervantes, and they are the only type of dog mentioned in the Bible. They've long been appreciated for their intelligence, graceful form, athleticism, and loyalty.
During the early 1920s, modern greyhound racing was introduced into the United States. Smaller and lighter than show greyhounds, track greyhounds are selectively bred and usually stand between 25- 29 inches tall and weigh 60 70 pounds. These dogs instinctively chase anything that moves quickly (as they are sighthounds, not bloodhounds), hence the lure--the mechanical hare they chase around the track. Greyhound racing is still a very popular spectator sport in the United States and, like horse racing, is enjoyed as a form of parimutuel gambling.
Greyhound racing is very controversial as the dogs experience little human contact and spend most of their non-racing time in crates. Once greyhounds are too old to race (somewhere between three and five years of age), many are euthanized, though there are now many rescue programs that find homes for retired racers. Because greyhounds are naturally docile and even-tempered, most adjust well to adoption and make wonderful pets.
The cover image is from Cassell's Natural History. 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 TheSans Mono Condensed.The production editors for

