See site page here
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.
-
/bincontains main ${project.artifactId}-${project.version}.jar binary, as well as several extra jars (could be useful for IDE integration) -
/docjavadocs -
/srcsources -
/libdependencies (for using with a command line compressor or non-Maven projects) -
pom.xmlMaven POM file
- For java projects add ${project.artifactId}-${project.version}.jar library to your project's classpath
- For a command line usage run:
java -jar ${project.artifactId}-${project.version}.jar -hto get a brief description of available parameters.
Please refer to http://code.google.com/p/htmlcompressor/ for the detailed documentation.
- Install JDK 11+ (https://www.oracle.com/java/technologies/downloads/)
- Install Maven 3.9.1+ (http://maven.apache.org/download.html)
- Run build.bat or build.sh
- Compiled binaries will be placed in /target subdirectory
- Changelog for 1.5.3 and before found here
- A lot of docuemntation is still at google code, a good getting started pull request would be to work on translate that data over. The original export only exported the issues and source code. Thus far the TODO wiki is 100% copied over, The change log is copied over too but missing links. Need all documentation copied over.
