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!

Leave a Reply

Your email address will not be published. Required fields are marked *