ZetaProducerHtmlCompressor
ZetaProducerHtmlCompressor copied to clipboard
A .NET port of Google’s HtmlCompressor library to minify HTML source code.
Zeta Producer Html Compressor
A .NET port of Google’s HtmlCompressor library to minify HTML source code.
Introduction
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.
Usage
Simply include the .NET Standard NuGet package or the .NET Full Framework 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).
History
- 2019-10-17 - Added .NET Standard package.
- 2015-10-18 - First release to GitHub.
- 2012-12-03 - First release. (Being used in our CMS Zeta Producer ever since).