0161 215 3700
0800 458 4545
0800 230 0032
0161 215 3711
Fast Chat

Welcome to UKFast, do you have a question? Our hosting experts have the answers.

Sarah Wilson UKFast | Account Manager

Microsoft Doloto tool makes AJAX webpages more responsive

Microsoft Doloto tool makes AJAX webpages more responsive

Microsoft Research has released Doloto (1.56MB) on MSDN DevLabs. Doloto, which stands for Download Time Optimizer, is a tool that makes pages more responsive by decreasing the initial download size of complex AJAX applications. The only requirement for the small tool is .NET Framework 3.5. Microsoft says that while AJAX applications bring a variety of rich user experiences to the Web, they often require downloading a lot of code and as a result are slow to load. Doloto manages to mitigate this problem quite well.

Microsoft ran experiments across a number of AJAX applications and network conditions, finding that Doloto reduced the amount of initial downloaded JavaScript code by over 40 percent, often resulting in startups faster by 30 to 40 percent, depending on network conditions. The chart included above shows the savings in the amount of downloaded JavaScript code across a range of popular websites.

So, how exactly does it work? S. Somasegar, senior vice president of Microsoft's Developer Division, breaks the process down into three steps:

1. Doloto profiles your application. Doloto performs profiling by running a local proxy on your machine that intercepts JavaScript files and instruments them to capture timestamps at runtime for every JavaScript function in a browser-independent manner.

2. Profiling information is used to calculate code coverage and a clustering strategy. This determines which functions are stubbed out and which are not and groups functions into batches which are downloaded together, called clusters.

3. Doloto rewrites JavaScript code. It then saves it to disk so that you can upload it to the server. The entire process happens on your machine, without needing access to the server. This way, you can profile and optimize the JavaScript of a any third-party site without special access to their servers. When you are satisfied with Doloto's results, you can deploy the rewritten files to the server.

More information on Doloto is also available on the tool's Microsoft Research webpage, on MSDN DevLabs, and on the Doloto forums.

No responsibility can be taken for the content of external Internet sites.

Source: ars technica

print this article

Return to internet news headlines
View Internet News Archive

Share with: