A .NET port of Google’s HtmlCompressor library to minify HTML source code.
This project is a port of Google's Java HtmlCompressor library to remove extra whitespaces, comments and other unneeded characters without breaking the content structure.
Simply include the NuGet package into your project.
See "Minify HTML with inline CSS/JavaScript for MVC C# as a filter/attribute" as an example implementation (includes CSS and JavaScript minification using System.Web.Optimization bundling library).
- 2015-10-18 - First release to GitHub.
- 2012-12-03 - First release. (Being used in our CMS Zeta Producer ever since).