Looking for the plugin? Skip the article and go straight to the plugin page. For everyone else...
Users Hate to Wait
What if there was an application that could automatically determine what functions you don't need and removed them for you? It turns out that Google released just such an application last week.
The Google Closure Compiler goes a step beyond minification. Rather then just remove spaces, comments and line feeds, it renames variables and functions to use less characters and will completely remove functions that you don't need.
Effortless Work Flow Integration
We got so excited about the Compiler here at ZURB that we wrote a Rails plugin that integrates it with the standard Rails deployment work flow.
There were two issues we needed to resolve:
So What are you Waiting for?
The complete documentation and source code are available on GitHub. Run
script/plugin install git://github.com/mkelly12/google_closure_compiler.git and your all set with some sensible default settings. Configuration options are provided for the obsessive compulsive types.