Alex Rivera | Logout

Should I use the YUI Compressor or the new Google Closure compiler to compress my JavaScript?

Asked 2009-11-06T09:23:09.393
53

YUI Compressor was the consensus best tool for minimizing, but Closure seems like it could be better.

Edit
Report

2 Answers

7

Looks like jQuery 1.5 just moved to UglifyJS:

Additionally with this switch we’ve moved to using UglifyJS from the Google Closure Compiler. We’ve seen some solid file size improvements while using it so we’re quite pleased with the switch.

answered 2011-02-01T03:18:22.700
3

As of october 2012, looks like YUI compressor is now deprecated, or at least no longer going to be used in YUI: http://www.yuiblog.com/blog/2012/10/16/state-of-yui-compressor/

answered 2013-03-17T20:53:29.637

Your Answer