http://www.codeandcoffee.com/2006/10/02/compress-your-javascript/
Online version of JSMin.
I’ll give you an example:
prototype.js (version 1.6.0.2)
_ before: 124K
_ after: 92K
Nothing very special but it could help. Anyway I think it’s the best you can get with just this type of compression.
Other examples:
http://www.bananascript.com/
http://dean.edwards.name/packer/
The best:
I’ve read about a Java tool that performs also the replacement of name variable but I can’t find the source yet. It should be called dojotoolkit or/and shrinksafe.
