Visual Studio Automatic JavaScript and CSS Minification and Concatenation

Whether you are building a large one page html 5 apps or just creating a standard site in visual studio, you can improve your development build process by adding automatic CSS and Javacript minification and concatenation on release builds. This will reduce the not only the size of these files but more importantly will reduce the actual number of requests made. This should translate into a zippier website.
At the same time minified code is a pain to debug, and so it would be nice if it was possible to only do the minification on release builds and have our normal code for debug builds. Well thanks to the wonderful free library developed by Justin Etheredge, called SquishIt now you can. So grab the files from GitHub and head on over to his website to and follow his easy, step by step, tutorial.

 

This entry was posted in ASP.NET, CSS, Javascript, Optimizations, Web Development and tagged , , , . Bookmark the permalink.

One Response to Visual Studio Automatic JavaScript and CSS Minification and Concatenation

  1. css says:

    We’re a bunch of volunteers and starting a new scheme in our community. Your site provided us with helpful info to work on. You’ve done an impressive activity and our entire community can be thankful to you.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>