AJAX Performance Bestpractices
Recently someone asked me about the best practices for AJAX performance.
Though this information is scattered all around, I thought it might be useful to capture it in a single blog post. So here you go >>>
The AJAX performance tips from JScript perspective (the area I work on) would vary depending upon the browser version you are running.
For IE 7 and below, take a look at these blog posts, which cover the best practices for AJAX performance in detail.
- IE + JavaScript Performance Recommendations - Part 1
- IE+JavaScript Performance Recommendations Part 2
- IE+JScript Performance Recommendations Part 3
For IE8, the best place for you to start could be the CodeFocus article on Performance Improvements in Internet Explorer 8 Beta2. This article details the performance changes that are now a part of IE8. Some of these changes would obviate the need for developers to devise complex alternate solutions for operations like string concatenation etc.
Other good resources for AJAX performance would include:
· IE8 Readiness Toolkit for Developers
And last but not the least, IE8 now ships an inbuilt JScript profiler as a part of the IE8 Developer Tools. The JScript profiler is really helpful for analyzing the performance of the AJAX application, and helps identify the hot-spot functions and paths which a user could target to improve the performance of an AJAX application. You could read more about the same at my blog around Analyzing the AJAX Application Performance.
Hope this helps!
-- Gaurav
Comments
Anonymous
November 21, 2008
PingBack from http://blog.a-foton.ru/index.php/2008/11/21/ajax-performance-bestpractices/Anonymous
January 04, 2009
Nice blog. Is there a plan to implement E4X extension in Javascript? -Kanwal-Anonymous
January 04, 2009
@Kanwal Based upon ECMAScript Harmony project that lays out the agreements that have been reached in the ECMAScript technical committee, as of now there is no plan to implement E4X extensions in JScript. To read more about ES "Harmony" - see this blog - http://blogs.msdn.com/jscript/archive/2008/08/20/ecmascript-3-and-beyond-the-road-to-harmony.aspx