Friday, January 11, 2008

JavaScript Compression Tools

Notes on JavaScript Compression (Dean Edwards)

These JavaScript compressors are capable of shrinking variable and argument names:
Packer
Dojo ShrinkSafe
YUI Compressor

CompressorRater
qooxdoo generator (corresponding documentation)

http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/

Compressing JavaScript is another test that compares cruncher performance (/packer/, JSCD and MemTronic).

http://www.xidea.org/project/jsa/

I have a LZ77-algorithm-based JavaScript compressor: http://demo.java2script.org/lz77js/

I use a lint-tool to check for comma’s. I know of two:
http://www.javascriptlint.com/docs/index.htm
http://www.jslint.com/

http://programming.reddit.com/info/2jkbz/comments/c2jnox


Please check out jsutility.pjoneil.net for a set of JavaScript development tools. It will compact and compress JavaScript substantially better than any other tools mentioned in these articles.


I owe all of you an apology. The web site jsutility.pjoneil.net was not ready for prime time when I made my original post. There were simply too many problems.

PHP Blogger: Javascript Kompressoren vergleichen

No comments: