I’m about 30 minutes from walking on stage to present my last session here at TechEd 2010 in New Orleans and I wanted to share this presentation early, just in case the session room fills up and folks can’t make it in or for those of you who weren’t able to make it. If you’re a TechEd attendee, the slides are up on the Schedule Builder, otherwise, you can find my deck here [8meg PPTX].
The Internet Explorer engineering team spends a lot of time working to understand what developers and doing when building their websites, where the bottle necks are (both in the browser and in the code that developers write). With all of the information that they gathered, they built set of 20 tips and tricks that will help your site run faster, and more efficiently. While the research they did used Internet Explorer as the base, almost all of these tips and tricks apply to all browsers.
Jason Weber presented these tips and tricks at MIX2010 this year – the session web page is at http://live.visitmix.com/MIX10/Sessions/CL29 and you can also download the slides, or the video in MP4, Windows Media Format or High Quality Windows Media Format. It runs about 80 minutes and should be required watching for every developer out there I think. I know I learned a few things and I think my site breaks some of the best practices that I’ve got listed below! (I guess I’ve got some work to do! )
Without any further ado, I present to you…
20 Tips & Tricks To Improve Your Website Performance
- Ensure server side compression is enabled on “text” like files
- Use conditional requests
- Provide cacheable content
- Don’t scale images (I’m really guilty of this one)
- Use image sprites
- Link Style Sheets at the top of your page
- Avoid using @import
- Minimize Walking Look Up Chain
- Cache Function Pointers
- Use the Native JSON object
- Remove duplicate scripts
- Minimize DOM interactions
- Use efficient DOM Methods
- Use querySelectorAll for groups
- Only send required styles
- Simplify your selectors
- Minimize page layouts
[UPDATED 6/10/10 1:25pm PST] Fixed the link to the slides, sorry about that!