Javascript performance tips from the IE7 folks

The IE7 team has announced “great fixes to our (JavaScript) engine to improve the garbage collection routine and to reduce unbounded memory growth.” They have also found many sites using less than optimal scripting patterns and have some great advice on fine-tuning your JavaScript. The following tips could increase your site download speeds from 4-10 times.

  • Evaluating Local Variables
  • Cache Variables Whenever Possible
  • Cache Function Pointers at all costs
  • Avoid Using the ‘with’ Keyword

Internet Explorer 7 For more information on these tips, visit the IEBlog’s post: IE + JavaScript Performance Recommendations – Part 1. Don’t forget to download and TEST your sites with the Internet Explorer 7 Release Candidate. The light at the end of the tunnel is getting brighter!

Published by Ted

Accessibility is more than making sure images have alternate text. I work with engineers, product managers, and designers to understand how accessibility impacts the users, set realistic deadlines, and create the solutions to provide a delightful experience to all users, regardless of their physical, sensory, or cognitive ability.

Leave a comment

Your email address will not be published.