Product Details
Even Faster Web Sites: Performance Best Practices for Web Developers

Even Faster Web Sites: Performance Best Practices for Web Developers
By Steve Souders

List Price: $35.00
Price: $23.10 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

37 new or used available from $18.54

Average customer review:

Product Description

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.


Product Details

  • Amazon Sales Rank: #29308 in Books
  • Published on: 2009-06-18
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 254 pages

Features


Editorial Reviews

About the Author
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 Yahoo!, where he blogged about web performance on Yahoo! Developer Network. He was named a Yahoo! Superstar. Steve worked on many of the platforms and products within the company, including running the development team for My Yahoo!. Prior to Yahoo! Steve worked at several small to mid-sized startups including two companies he co-founded, Helix Systems and CoolSync. He also worked at General Magic, WhoWhere?, and Lycos.


Customer Reviews

Raising the performance bar up a notch5
This book is a follow-on to Steve Souder's first book entitled "High Performance Web Sites". Whereas the first book was authored entirely by Steve Souder, this newer book contains chapters authored by other experts in Javascript, Ajax, and/or Network Performance. Comparatively speaking, I tend to think of the performance tuning techniques discussed in the first book as all relatively straightforward to implement, while those in this newer book as ranging from some that are relatively straightforward to implement (e.g., how to write efficient Javascript and CSS Selector code, how to optimize image sizes, and how to flush documents early to trigger initial web page rendering as soon as possible), to others that tend to be trickier to implement, involving either the use of:

* lesser known http features (e.g., chunked encoding for incremental page rendering or low-latency data transfers from server to browser in support of near-realtime applications such as chat, stock quotes, etc), or

* still evolving technologies (e.g., Google GEAR or Web Worker API for overcoming Javascript's single-threadedness to get more concurrent work done), or

* not yet publicly released technologies (e.g., Microsoft Research's Doloto system that facilitates the "splitting and packaging" of a Javascript-intensive Web Application into a quick-loading initial component or cluster that enables early page rendering, and supporting payloads that are loaded more lazily or on-demand).

One theme that runs throughout this newer book is that in order to squeeze more performance out of a next generation web application, developers would have to become more and more adept with using asynchronous techniques (which could involve tricky issues); by this I don't just mean using Ajax which could involve asynchronously pulling data from server to browser, but also asynchronous techniques for facilitating parallel component downloads, etc.

Given the cutting-edge and more complex nature of some of the discussed techniques, this book is an invaluable aid to anyone itching to experiment: it lays out a problem, suggests approaches and related tools whenever appropriate (e.g., no access to Doloto?, here are alternative do-it-yourself implementation approaches), provides lots of sample code, calls out potential gotchas and how to workaround them, and then with the support of empirical data, tells you the relative pros and cons of each suggested approach. Highly recommended!

Table of Contents5
Chapter 1. Understanding Ajax Performance, Douglas Crockford.
Chapter 2. Creating Responsive Web Applications, Ben Galbraith and Dion Almaer.
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, Nicholas C. Zakas.
Chapter 8. Scaling with Comet, Dylan Schiemann.
Chapter 9. Going Beyond Gzipping, Tony Gentilcore.
Chapter 10. Optimizing Images, Stoyan Stefanov and Nicole Sullivan.
Chapter 11. Sharding Dominant Domains.
Chapter 12. Flushing the Document Early.
Chapter 13. Using Iframes Sparingly.
Chapter 14. Simplifying CSS Selectors.
Appendix. Performance Tools.

Faster and Faster5
Today's Web developer knows that the speed of one's site is an important measure to its overall success, and Steve Souders' previous book, /High Performance Web Sites/ (O'Reilly), laid out what seemed to be every way to achieve good performance gains without the sacrifice of functionality or aesthetics. When I began reading Souders' /Even Faster Web Sites/, I therefore wondered how he could possibly demonstrate fresh ways to achieve performance gains without regurgitating the content of his previous book. What I discovered as I read /Even Faster Web Sites/ was it presented all new best practices for making your web sites "leaner and meaner" without repeating the content of his last book.

/Even Faster Web Sites/ takes the latest techniques available to developers and organizes them into three performance areas: JavaScript, network, and browser. Though I believe Souder knows what he is talking about regarding web site performance, I found it refreshing this time around that he had the contributions of other experts in the field to give their ideas on performance gains in these areas.

I thought the chapters on JavaScript, especially those discussing Ajax and asynchronous techniques, were well written and gave good, new best practices to trim time off the loading of content on a site. I also appreciated the chapter dealing with Comet, as these technologies are surely a driving force for future web applications, and having best practices early in their development will only help their progress. Of the two chapters on browser performance, I found the honesty of the discussion on the downsides of using iframes most helpful, especially when their use was discussed as a viable technique for improving performance early in the book. I did find the chapter on CSS selectors extremely useful for analyzing where slowdowns in styling may exist based on browser implementation. The chapters on network performance gave a good background on common hindrances such as connection limits and poor image choices, but also walked through what I felt were performance gains that can be made through less utilized techniques like chunked encoding and better compression.

Souder finished this book with an Appendix on performance tools that can be used to help in the improvement of a web site, which I found to be immensely helpful. While many tools he listed are well known to developers, there are some I was unaware of and began making use of immediately on my own sites.

/Even Faster Web Sites/ is an excellent follow-up to High Performance Web Sites, giving new best practices for making your web sites even faster. As I see it, even hundredths of a second begin to add up when you put all of these techniques together, and most of the techniques presented in this book are practical for any web site being developed. I would recommend this book to any developer looking for ways to improve the performance of his web site, as Souder has certainly demonstrated his knowledge and expertise on improving the speed of a site.