User blog comment:DaNASCAT/Update Your CSS and JavaScript To Speed Up Your Wiki/@comment-3508190-20120824071323/@comment-4674838-20120824171922


 * To some extent it may be possible to obfusticate (and shorten) some variables - for example local, temporary names. If you are aware of any automated tools that operate only on such limited scope please let us know.

The YUI Compressor shouldn't obfuscate global variables -- it will only obfuscate variables that are scoped. Scoped variables don't really interfere with other libraries and such (that's kinda the point of scope). Sure there's the rare possibilitily of a local variable hiding a global one, but I can't really see that happening?

Ultimately, obsfucation should generate variables like a, b, c and so forth. Names that I can't imagine popping up as global variables in other libraries by and large.

It surely couldn't hurt to provide an optional minify parameter with importArticles, right? Disregard, the debug parameter already does basically the same thing.

By the way, the interference thing is a non-issue when it comes to minifying CSS. You should definitely minify CSS or provide the option to do so! Disregard, CSS is already minified.