Why minifys your JS
- Quicker download times for your users.
- Reduced bandwidth consumption of your website.
Built in Java From Google
Can be used with Closure Builder to generate your compressed JS
Or if you do not use any of these builders you can copy and paste in the code at:
Built in Java From Yahoo
Relies on Rhino
Also compresses CSS
Available as .NET, perl and PHP applications
Does not offer the ability to gzip your files
Online minify available online.
Built in Node
Apache Ant would be a good build tool to run this compression automatically.
Good comparison websites are:
There is some confusion as you look at the data which one is the best, but as they all drastically reduce the size of the provided files to the user I think its worth using any of these.
Try to implement one of these into your build script to make life easy in the long term.