| |||||
Heavily inspired by the JS Lint service.
Powered by V8 and Node.js.
Here are some key features of "HTMLMinifier":
· Remove comments
· Also remove comments from scripts and styles
· Remove CDATA sections from scripts and styles
· Collapse whitespace
· Collapse boolean attributes
· Remove attribute quotes
· Remove redundant attributes/values
· Use short doctype
· Remove empty (or blank) attributes
· Remove optional tags
· Validate input through HTML lint
· Remove type="text/css" from style's and link's
· Remove empty elements
· Remove type="text/javascript" from script's
Requirements:
· JavaScript enabled on client side
Limitations:
· HTMLMinifier is a draft and is not yet thoroughly tested.

Via: HTMLMinifier 0.5.2






0 Comment:
Post a Comment