HtmlMinifier for Umbraco is a powerful plugin designed to optimize and enhance the performance of your Umbraco website. By leveraging the robust capabilities of WebMarkupMin, this plugin efficiently minifies and compresses HTML code, resulting in significantly reduced file sizes and faster page load times.

  1. Automatic Minification: Seamlessly integrates with your Umbraco installation to automatically minify HTML code on-the-fly.
  2. Enhanced Performance: Improves website speed and user experience by reducing data transfer.
  3. Customizable Settings: Offers flexible configuration options to tailor minification behavior to your specific needs.
  4. Compatibility: Works seamlessly with various Umbraco versions and themes. Easy Installation: Simple and straightforward installation process.

For umbraco 10 and Umbarco 13 use Dyfort.Umbraco.HtmlMinifier 

For old Umbraco version use MissingCode.Umbraco.HtmlMinifier

Version 9.0.0 for Umbraco 9

Optional configurations for Umbraco 9:

  "HtmlMinifier": {
    "RemoveAttributeQuotes": false,
    "RemoveOptionalEndTags": false,
    "AllowMinificationInDevelopmentEnvironment": false
  }

 

For previous umbraco versions:

Enable Html Minifier by change debug="false" in web.config

Version 1.0.1 for Umbraco 8

Version 0.9.7 for Umbarco 7.5+

Version 0.9.5 for Umbarco 7.5

 

To get started:

  1. Install package
    1. using Umbarco package 
      • Open Umbraco package settings
      • In package "Search for package" type Html and click on Html Minifier
        Install Html Minifier using Umbarco Package
      • install package
        Html Minifier Install Package
    2. using Nuget package:
      • Open Visual Studio
      • Open Nuget Console
        Html Minifier Install Package
      • Install Html Minifier Package  - type Install-Package MissingCode.Umbraco.HtmlMinifier and click enter
        Install Html Minifier using nuget command


  2. Verify web.config setting is set to debug="false"
  3. Check page source 
    result of html commpression