Shrink Html at render time of ASP.net MVC4 application. It removes unnecessary space and carriage returns, saving up to ±25% of bandwidth.
Change pageBaseType of the web.config file int the Views directory of our project
ie:
<system.web.webPages.razor>
</system.web.webPages.razor>