javascriptcompressionperformancewebgzipDean Edwards: Notes on JavaScript Compression
Dean Edwards: Notes on JavaScript Compression dean.edwards.name
The most efficient way to serve compressed JavaScript is to first run your code through a JavaScript compressor that shrinks variable and argument names, and then serve the resulting code using gzip compression.