Even Faster Web Sites

April 23, 2009 12:23 am | 12 Comments

This post introduces Even Faster Web Sites, the follow-up to High Performance Web Sites. Posts in this series include: chapters and contributing authors, Splitting the Initial Payload, Loading Scripts Without Blocking, Coupling Asynchronous Scripts, Positioning Inline Scripts, Sharding Dominant Domains, Flushing the Document Early, Using Iframes Sparingly, and Simplifying CSS Selectors.

Last April, I blogged about starting a follow-up to my first book, High Performance Web Sites. Last week I sent in the first round of final edits. Although there will likely be one or two more rounds of edits, they should be small. So, I’m feeling pretty much done. It’s a huge weight off my shoulders. I’ve been working on this book for more than a year. The performance best practices I present required more research than HPWS. I also expanded my testing from just IE and Firefox (as I did in HPWS) to IE, Firefox, Safari, Chrome, and Opera (including multiple versions of each).

The title of this new book is Even Faster Web Sites. It will be published in June, and is available for pre-order now on Amazon and O’Reilly. The cover of HPWS was a greyhound. EFWS’ cover is the Blackbuck Antelope – it can hit 50 mph which is in the top 5 for land animals. (Fastest is cheetah, but that’s taken by Programming the Perl DBI.)

The most exciting thing about EFWS is that it includes six chapters from contributing authors. This came about because I wanted to have best practices for JavaScript performance. I’m a pretty good JavaScript programmer, but not nearly as good as the JavaScript luminaries out there who are writing books and teaching workshops. I also wanted a chapter on image optimization, where Stoyan Stefanov and Nicole Sullivan are the experts. I reached out to folks in these and other areas to contribute performance best practices that they had accumulated. The resulting chapters are listed below. I’ve indicated the contributing authors where appropriate; otherwise, the chapter is written by me.

  1. Understanding Ajax Performance – Doug Crockford
  2. Creating Responsive Web Applications – Ben Galbraith and Dion Almaer
  3. Splitting the Initial Payload
  4. Loading Scripts Without Blocking
  5. Coupling Asynchronous Scripts
  6. Positioning Inline Scripts
  7. Writing Efficient JavaScript – Nicholas C. Zakas
  8. Scaling with Comet – Dylan Schiemann
  9. Going Beyond Gzipping – Tony Gentilcore
  10. Optimizing Images – Stoyan Stefanov and Nicole Sullivan
  11. Sharding Dominant Domains
  12. Flushing the Document Early
  13. Using Iframes Sparingly
  14. Simplifying CSS Selectors
  15. Performance Tools

Between now and when the book comes out, I’ll write a blog post about each of my chapters. I wrote the first one of these, Split the Initial Payload, back in May. Now that I have more time on my hands, I’ll catch up and finish the rest.

If you’re just beginning the process of improving your web site’s performance, you should start with High Performance Web Sites. But as Web 2.0 gains wider adoption and the amount of content on web pages continues to grow, the best practices in Even Faster Web Sites are key to making today’s web sites fast(er).

12 Responses to Even Faster Web Sites

  1. Is it available as rough cuts as well?

  2. I got a lot out of your previous book and look to see what great stuff this one has.

  3. Hey Steve, when should it be appearing on Safari Books Online?

  4. Hi Steve, good news your book is coming soon I can’t wait to get my copy.
    Great book cover! I’ve seen on Animal Planet last week that the Tiger Beetle is technically the fastest running land animal, considering its body length.
    “Michael Johnson would have to run a 200 meter race in 0.87 seconds to equal the relative quickness of the Australian species”
    You could use it in a future book cover, just claim that before somebody else does ;-)

    More info on:
    http://en.wikipedia.org/wiki/Tiger_beetle
    http://www.news.cornell.edu/releases/Jan98/TigerBeetle.bpf.html

  5. Great news! Just recently finished reading your previous book. Can’t wait to get this one as well!

    thanks

  6. @Simone, @Weston: It should be on Rough Cuts and Safari Online next week.

  7. Steve, I will be glad if you can mention webo.name (or webo.in) as a Russian initiative in Performance Tools chapter in your future book.

  8. Very much looking forward to this book!

  9. I’m another fan of your first book. Just pre-ordered this one. It was a huge inspiration for my company GetSnappy.com

  10. Hi Steve, is it avaible on amazon? I wanna to buy it but idk where can i buy it.

  11. i need to know why my games are so slow to load and how can i make it to load really fast can you tell me plz