HTML Compressor and Minifier

HtmlCompressor is a small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.

License

License

GroupId

GroupId

com.googlecode.htmlcompressor
ArtifactId

ArtifactId

htmlcompressor
Last Version

Last Version

1.5.2
Release Date

Release Date

Type

Type

jar
Description

Description

HTML Compressor and Minifier
HtmlCompressor is a small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.
Project URL

Project URL

http://code.google.com/p/htmlcompressor/
Project Organization

Project Organization

Sergiy Kovalchuk
Source Code Management

Source Code Management

http://code.google.com/p/htmlcompressor/source/browse/tags/htmlcompressor-1.5.2

Download htmlcompressor

How to add to project

<!-- https://jarcasting.com/artifacts/com.googlecode.htmlcompressor/htmlcompressor/ -->
<dependency>
    <groupId>com.googlecode.htmlcompressor</groupId>
    <artifactId>htmlcompressor</artifactId>
    <version>1.5.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.googlecode.htmlcompressor/htmlcompressor/
implementation 'com.googlecode.htmlcompressor:htmlcompressor:1.5.2'
// https://jarcasting.com/artifacts/com.googlecode.htmlcompressor/htmlcompressor/
implementation ("com.googlecode.htmlcompressor:htmlcompressor:1.5.2")
'com.googlecode.htmlcompressor:htmlcompressor:jar:1.5.2'
<dependency org="com.googlecode.htmlcompressor" name="htmlcompressor" rev="1.5.2">
  <artifact name="htmlcompressor" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.googlecode.htmlcompressor', module='htmlcompressor', version='1.5.2')
)
libraryDependencies += "com.googlecode.htmlcompressor" % "htmlcompressor" % "1.5.2"
[com.googlecode.htmlcompressor/htmlcompressor "1.5.2"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.javascript : closure-compiler Optional jar r1043
com.yahoo.platform.yui : yuicompressor Optional jar 2.4.6

provided (2)

Group / Artifact Type Version
javax.servlet.jsp : jsp-api jar 2.1
org.apache.velocity : velocity-tools jar 2.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.2

Project Modules

There are no modules declared in this project.

Versions

Version
1.5.2
1.4