Life's Too Short - Write Fast Code (part 2)
This is the second talk that follows-up on the 14 best practices from YSlow and "High Performance Web Sites". The first talk presented three new best practices: Split the Initial Payload, Load Scripts Without Blocking, and Don't Scatter Inline Scripts.
The most important of these is loading external scripts without blocking other downloads and preventing page rendering. One complication is this may introduce undefined symbol errors if inlined code uses symbols from the external scripts. Luckily, there are several techniques to workaround this problem. That and other topics will be covered in this presentation of three more best practices:
- Coupling Asynchronous Scripts
- Use Iframes Sparingly
- Flush the Document Early
Steve Souders works at Google on web performance and open source initiatives, and previously served as the Chief Performance Yahoo!. He also co-founded Helix Systems and CoolSync, and worked at General Magic, WhoWhere?, and Lycos. Steve is the creator of YSlow, the performance analysis extension to Firebug, which has over 700,000 downloads. He serves as co-chair of Velocity, the web performance and operations conference from OReilly, and is co-founder of the Firebug Working Group. He recently taught High Performance Web Sites at Stanford University.
For more on this topic, please see here.
Google Tech Talks
March 5, 2009