August 6th, 2014
In the quest to further optimize my site, I’ve been looking at ways to minify as much of the site as possible. I wasn’t able to find a simple program which would run through the files generated for my site and minify them in one go, so I quickly put this project together.
Static Site Squisher is a command line program which can minify the contents of a static site. It minifies the HTML, JS, and CSS files of a directory and all it’s subdirectories.
Changes HTML to reference the minified files
Runs on Windows using .NET, and Linux using Mono.
Source for this library is released under the terms of the MIT License. The latest source can be viewed on the project’s Bitbucket page. A snapshot of the source code for this release and a pre-compiled binary are released below.