Whitespace minification mode. Can take the following values:
None
Safe
html
head
body
meta
link
script
li
dt
dd
rb
rtc
rt
rp
option
tr
td
th
Medium
Aggressive
Flag for whether to remove all HTML comments, except conditional, noindex, KnockoutJS containerless comments and AngularJS 1.X comment directives.
Flag for whether to remove HTML comments from script and style tags.
style
Flag for whether to remove CDATA sections from script and style tags.
Flag for whether to replace existing document type declaration by short declaration - <!DOCTYPE html>.
<!DOCTYPE html>
Flag for whether to preserve case of tag and attribute names (useful for Angular 2 templates).
Flag for whether to replace <meta http-equiv="content-type" content="text/html; charset=…"> tag by <meta charset="…"> tag
<meta http-equiv="content-type" content="text/html; charset=…">
<meta charset="…">
Render mode of HTML empty tag. Can take the following values:
NoSlash
<br>
Slash
<br/>
SpaceAndSlash
<br />
Flag for whether to remove optional end tags (html, head, body, p, li, dt, dd, rb, rtc, rt, rp, optgroup, option, colgroup, thead, tfoot, tbody, tr, th and td).
p
optgroup
colgroup
thead
tfoot
tbody
Flag for whether to remove tags without content, except for textarea, tr, th and td tags, and tags with class, id, name, role, src and custom attributes.
textarea
class
id
name
role
src
Flag for whether to remove values from boolean attributes (for example, checked="checked" is transforms to checked).
checked="checked"
checked
HTML attribute quotes removal mode. Can take the following values:
KeepQuotes
Html4
Html5
Flag for whether to remove attributes, which have empty value (valid attributes are: class, id, name, style, title, lang, dir, event attributes, actionattribute of form tag and value attribute of input tag).
title
lang
dir
action
form
value
input
<scriptlanguage="javascript" …>
<script src="…" charset="…"…>
<link rel="stylesheet"charset="…" …>
<form method="get" …>
<input type="text" …>
<a id="…" name="…" …>
<area shape="rect" …>
Flag for whether to remove type="text/javascript"attributes from script tags.
type="text/javascript"
Flag for whether to remove type="text/css" attributes from style and link tags.
type="text/css"
Flag for whether to remove the HTTP protocol portion (http:) from URI-based attributes (tags marked with rel="external" are skipped).
http:
rel="external"
Flag for whether to remove the HTTPS protocol portion (https:) from URI-based attributes (tags marked with rel="external" are skipped).
https:
Flag for whether to remove the javascript: pseudo-protocol portion from event attributes.
javascript:
Flag for whether to minify CSS code in style tags.
Flag for whether to minify CSS code in style attributes.
Flag for whether to minify JS code in script tags.
Flag for whether to minify JS code in event attributes and hyperlinks with javascript: pseudo-protocol.
Comma-separated list of types of script tags, that are processed by minifier (e.g. "text/html, text/ng-template"). Currently only supported the KnockoutJS, Kendo UI MVVM and AngularJS 1.X views.
"text/html, text/ng-template"
Flag for whether to minify the KnockoutJS binding expressions in data-bind attributes and containerless comments.
data-bind
Flag for whether to minify the AngularJS 1.X binding expressions in Mustache-style tags ({{}}) and directives.
{{}}
Comma-separated list of names of custom AngularJS 1.X directives (e.g. "myDir, btfCarousel"), that contain expressions. If value of the MinifyAngularBindingExpressionsproperty equal to true, then the expressions in custom directives will be minified.
"myDir, btfCarousel"
MinifyAngularBindingExpressions
true