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.
- Automatic Minification: Seamlessly integrates with your Umbraco installation to automatically minify HTML code on-the-fly.
- Enhanced Performance: Improves website speed and user experience by reducing data transfer.
- Customizable Settings: Offers flexible configuration options to tailor minification behavior to your specific needs.
- 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:
- Install package
- using Umbarco package
- Open Umbraco package settings
- In package "Search for package" type Html and click on Html Minifier
- install package
- using Nuget package:
- Open Visual Studio
- Open Nuget Console
- Install Html Minifier Package - type Install-Package MissingCode.Umbraco.HtmlMinifier and click enter
- using Umbarco package
- Verify web.config setting is set to debug="false"
- Check page source