- 2011/08/21: websitecompressor-0.4.zip
- 2011/07/28: websitecompressor-0.2.zip
- 2011/07/27: websitecompressor-0.1.zip
Note that you need to have Java SE 1.5 or better (Java SE 1.6 recommended) installed in order to use the WebsiteCompressor.
Download the latest release, extract the archive, and copy all JAR files from the archive to your website project.
java -jar websitecompressor-0.4.jar [options] [files]
For example, use the following commands to minify a website generated by Jekyll using the WebsiteCompressor (assuming that you placed the JAR files in a subdirectory named
_lib, which is then ignored by Jekyll):
cd /path/to/website jekyll --no-server java -jar _lib/websitecompressor-0.4.jar --compress-css --compress-js _site
Afterwards upload the contents of the
_site folder to your webserver as usual.
WebsiteCompressor performs all compression in-place, so do not run WebsiteCompressor on your original source files! Create a copy of your website files first, run WebsiteCompressor on the copy and upload it to your webserver afterwards.
Available on GitHub: https://github.com/bmeurer/websitecompressor
Clone the project with Git by running:
git clone git://github.com/bmeurer/websitecompressor.git
If you come across any problems, please create a ticket and we will try to get it fixed as soon as possible.
Once you have made your commits:
- Fork websitecompressor.
- Create a topic branch - git checkout -b my_branch
- Push to your topic branch - git push origin my_branch
- Create a Pull Request from your topic branch.
- That's it!
Copyright © 2010-2011 Benedikt Meurer. See the LICENSE file for details.