Minify HTML output from an ASP.Net MVC Application
Enabling GZIP will have much more effect than minifying your HTML, anyway. Doing minification at runtime could hurt your servers (assuming you don’t use caching). It may be a good idea to minfiy your Asp.Net markup during deployment. This way, you still have a non-minified version of code in your code repository, and a minified … Read more