Javascript compression: Squeezing every byte on wire

Ray Cromwell posted an article about the techniques he has used with JavaScript compression to bring down the payload of Ajax application. “Combining base-54/base-64 obfuscated identifier encoding, stable sort-order for identifier allocation, my greedy clustering-by-edit-distance sort algorithm, and 7-zip as a gzip-compatible compressor, yields an incredible 21% reduction of the Showcase application. On a large 500k Javascript application, […]

Ray Cromwell posted an article about the techniques he has used with JavaScript compression to bring down the payload of Ajax application. “Combining base-54/base-64 obfuscated identifier encoding, stable sort-order for identifier allocation, my greedy clustering-by-edit-distance sort algorithm, and 7-zip as a gzip-compatible compressor, yields an incredible 21% reduction of the Showcase application. On a large 500k Javascript application, this means an additional 100k bandwidth is saved, with no performance penalty!?”

Full ArticleTimefire

Source:→ Ajaxian