I have got quite a bit of comments and feedbacks on my previous post where I shown how to combine multiple JS and CSS Files into one. So I decided to enhance it a bit more. Now it Supports:
- GZip or Deflate Compression based upon the browser header. Can be turned on/off from web.config
- Minifier for both JS and CSS files. Although it is recommended to keep separate version of these files for both development and production instead of minifying it runtime. There are plenty of online and offline tool available to do it. This can be also turned on/off from web.config.
- New Setting in the web.config for Cache Duration instead of hardcoding it in the code.
If you have checked the recent YSlow of Yahoo which works on top of Firebug, you already know that the above items are highly recommended for creating High Performance web applications.
Download: Enhanced Version
