Home

Alex Collins

The aim is to provide a simple app that compresses various types of static content. Having used various compressors in the past, I found that they were not fast or easy to use.

Currently this supports:

  • JavaScript (using Yahoo's YuiCompressor)
  • CSS (using Yahoo's YuiCompressor)
  • HTML (using HtmlCompressor from Google Code)

Installation:

The source has to be built and depends on Apache Ant and Ivy. All jars end up in "lib".

Execution:

Something like:

java $(find . -name '*.jar' | tr '\n' ':') com.alexecollins.unifiedstaticcontentcompressor.Compressor my-image.gif