Microsoft MSDNDev Labs has released a new tool “Microsoft Doloto” which can potentially make your AJAX sites and applications 40% faster. This optimization tools helps in loading Web pages faster on client browsers, thus making them more responsive and snappier.
Existing AJAX web 2.0 applications have lot of complex code and requires this code to be downloaded in client browsers before application pages can be loaded, resulting in making the AJAX experience slower. Doloto which stands for Download time optimizer is here to rescue developers.
“Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large web applications. Doloto enables applications to initially transfer only the portion of client-side JavaScript code necessary for application initialization. The rest of the application’s code is replaced by short stubs; their actual function code is transferred lazily in the background or on-demand on first execution. Since code download is interleaved with application execution, users can start interacting with your web application much sooner without waiting to download code that implements features they’re not currently using.”" according to S. Somasegar senior vice president of Microsoft’s Developer Division in his blog post.
How it actually works is by analyzing the AJAX application workloads and automatically performing code splitting .Application will initially transfer only the portion of code necessary for application initialization, Doloto determines which code segments are to be loaded initially. Rest of the application’s code is replaced by short code segments and sent to client browser either when request ( on-demand) or lazily transmitted to client asynchronously.As this code transmission is asynchronous or is happening in parallel, users can start interacting with the Web application interface much sooner, without waiting.
As a software engineer who is working on microsoft technologies to craft high performance enterprise web application, I can see big advantages of this optimization too for Developers and Architects, It can also help in improving their code structure and increase performance two folds.
DevLAbs Team is claiming that in experiments across a number of AJAX applications and network conditions, Doloto reduced the amount of initial downloaded JavaScript code by over 40%, or hundreds of kilobytes resulting in startup often faster by 30-40%, depending on network conditions. Here is a screenshot from their results :
Download Doloto from http://msdn.microsoft.com/en-us/devlabs/ee423534.aspx there is walkthrough guide available below the download link which should get you started.