3 ms·
http://axod.blogspot.com/2010/01/google-closure-compiler-advanced-mode.html http://axod.blogspot.com/2010/01/google-closure-compiler-adv... In my tests, it's e
by axod 17y ago
http://axod.blogspot.com/2010/01/google-closure-compiler-advanced-mode.html http://axod.blogspot.com/2010/01/google-closure-compiler-adv...
In my tests, it's extremely good. It requires some effort to get things working with the advanced mode, but it's worth it to make things load quicker.
Certainly far better than YUI.
- TeHCrAzY 17y agoI've had it break (without generating any warnings) some javascript just this morning using the simple mode (haven't had the time to sit down and look at exactly what was broken). So I would urge a great deal of caution in using it: test, test, test!
- axod 17y agoI haven't seen any issues with simple mode, but I would echo that. It can seriously mess things up if anything goes slightly wrong, so you need rigorous testing in place. Advanced mode can remove code you're using, it can rewrite variables you don't want rewritten, etc so you need to be sure everything is understood before you start. But the rewards are worth it... No compression: 92K, YUI: 56K, Closure Advanced: 47K.