Posts

Showing posts from September, 2009

Javascript minification along with automated deployment

Javascript compression has always been a great concern specially for interactive web applications where you will have lot of javascripts with lot of ajax requests. And as the ultimate target is to make your user happy with faster response, its better to squeeze your javascript files as much as possible. If possible reduce the number of files as well. Lots of advices are available to make your web sites faster enough as if users are working in desktop application. A good guideline can be found here . Besides we also need such a convenient way so that we can have this minification process as a part of our deployment. Some kind of automation I meant. Well we have found JS min very useful regarding all the above concerns. It gives pretty much good ratio of compression for js files compare to some contemporary minification processes. And in ruby you will have a rake task to make the minification process totally automated. In scrumpad we used JS-min with little bit tweaked. Here I wil