# Wednesday, 13 January 2010

While taking a look at the new Ajax library Microsoft put online I noticed at the bottom of a certain page a link to an interesting whitepaper: Building high performance websites. It’s an interesting read by James Senior and Dan Wahlin.

These are the main topics being discussed:

The Microsoft Ajax Content Delivery Network (CDN)
Loading ASP.NET Ajax Scripts
Loading jQuery Scripts
The ASP.NET Ajax Library Script Loader
Using the ASP.NET Ajax Script LoaderLoading Custom
Script Combining 
Using the Script Loader when Debugging 
Using the Script Loader's Lazy Loading Feature to increase performance 
JavaScript Application Performance Tools 
The Download Time Optimizer (Doloto) 
Microsoft Ajax Minifier
Internet Explorer JavaScript Profiler 
Internet Information Server 7 Compression and Caching Options 

Grz, Kris.

Wednesday, 13 January 2010 07:17:25 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, 05 February 2009

With all the web 2.0 buzz that started a couple of years ago javascript gets used more and more in modern websites and –applications. Most of the time everyone wants to plug in some cool flashy effect but forgets completely about performance or download size of all that goodness. Also correct placement of certain file types can make your application more performing. I recently found a very interesting article: Best Practices for Speeding Up Your Web Site.

Making css and javascript files external so that they can get cached by the browser is something known to a lot of (web)developers. However placing css as high as possible in the page and the scripts as low as possible is mostly something new. ASP.NET AJAX introduced the scriptmanager control in which one can add scriptreferences. Seen in the light of placing script files at the bottom one can also make benefit of the property LoadScriptsBeforeUI which got introduced with ASP.NET 3.5. It defaults to true, so the scripts will still render at the top. However I suggest that you don’t just switch it to false that lightly but carefully test everything before going to acceptance/production.

Other interesting articles are 10 ASP.NET Performance and Scalability Secrets and 10 Tips for Writing High-Performance Web Applications.

Grz, Kris.

Thursday, 05 February 2009 10:46:00 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [1]  |