Performance is critical to the success of any web site, and yet today's web applications push browsers to their limits with increasing amounts of rich content and heavy use of Ajax. In this book, Steve Souders, web performance evangelist at Google and former Chief Performance Yahoo!, provides valuable techniques to help you optimize your site's performance.
Souders' previous book, the bestselling High Performance Web Sites, shocked the web development world by revealing that 80% of the time it takes for a web page to load is on the client side. In Even Faster Web Sites, Souders and eight expert contributors provide best practices and pragmatic advice for improving your site's performance in three critical categories:
JavaScript - Get advice for understanding Ajax performance, writing efficient JavaScript, creating responsive applications, loading scripts without blocking other components, and more. Network - Learn to share resources across multiple domains, reduce image size without loss of quality, and use chunked encoding to render pages faster. Browser - Discover alternatives to iframes, how to simplify CSS selectors, and other techniques.
Speed is essential for today's rich media web sites and Web 2.0 applications. With this book, you'll learn how to shave precious seconds off your sites' load times and make them respond even faster.
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.
Inhaltsverzeichnis
Credits
Preface
Chapter 1: Understanding Ajax Performance
Chapter 2: Creating Responsive Web Applications
Chapter 3: Splitting the Initial Payload
Chapter 4: Loading Scripts Without Blocking
Chapter 5: Coupling Asynchronous Scripts
Chapter 6: Positioning Inline Scripts
Chapter 7: Writing Efficient JavaScript
Chapter 8: Scaling with Comet
Chapter 9: Going Beyond Gzipping
Chapter 10: Optimizing Images
Chapter 11: Sharding Dominant Domains
Chapter 12: Flushing the Document Early
Chapter 13: Using Iframes Sparingly
Chapter 14: Simplifying CSS Selectors
Performance Tools
Colophon