JavaScript Minification
Nicholas C. Zakas gibt Tips wie man JavaScript schreiben sollte um das meiste aus dem YUI Compressor zu holen.
This article emphasizes what you should do to take advantage of YUI Compressor’s best feature for minification: local variable name replacement. (…) When deploying JavaScript out into production, your only consumer is the browser, and the browser couldn’t care less about variable names. For that reason, the YUI Compressor replaces these variable names with shorter versions. (…) While the YUI Compressor can perform variable replacement on local variables, there is nothing it can do about properties. Since property names are defined on the object itself, there is no way to safely detect or replace them. That means code that accesses many properties will end up larger than code that doesn’t.

