Skip to content
A .NET port of Google’s HtmlCompressor library to minify HTML source code.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Bin-Console
Bin
Source
Test
.gitattributes
.gitignore
.travis.yml
LICENSE.txt
README.md

README.md

Zeta Producer Html Compressor

A .NET port of Google’s HtmlCompressor library to minify HTML source code.

Build state

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 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

  • 2015-10-18 - First release to GitHub.
  • 2012-12-03 - First release. (Being used in our CMS Zeta Producer ever since).
You can’t perform that action at this time.