Combining 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 and it’s working well for us.  This project does a nice job of calling a minifier, gzipping and caching.

Hoe this helps!

About Peter Kellner

Peter is a software professional specializing in mobile and web technologies. He has also been a Microsoft MVP since 2007. In addition, he’s a multi-course video author at Pluralsight. To read more about Peter Kellner and his experience click here. For information about how Peter Kellner might be able to help you with your project click here.

Follow me:


  1. Hello peter,

    i use the library 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


Get every new post delivered to your Inbox

Join other followers: