November 10th, 2009Combining JavaScript and CSS to Make Pages Load Faster
We are in the process of “speeding up” our ExtJS application. I’m just finally figuring out the rules of the road for doing this. Here are a couple of rules I believe to be true
- Combine and Minify All JavaScript
- Combine All CSS that are in the same directory (because of relative paths)
- Put the CSS above the JavaScript includes
We are using a library http://atashbahar.com/post/Combine-minify-compress-JavaScript-files-to-load-ASPNET-pages-faster.aspx and it’s working well for us. This project does a nice job of calling a minifier, gzipping and caching.
Hoe this helps!









November 11th, 2009 at 12:08 am
Hello peter,
i use the library MBCompression (http://www.codeplex.com/MbCompression). The library has more features like: minify, compress, caching, e-tags, combine css and js files, compress webresources and minify aspx pages.
Greetings by Chris