Compressed prototype.js & scriptaculous.js
Posted in Javascript on November 22nd, 2008 – – 3 CommentsI compressed both prototype.js version 1.6.0.2 1.6.1 and scriptaculous.js version 1.8.1 1.8.3 using Javascript Packer by Dean Edward (http://dean.edwards.name/packer/) in one file, and the result is about 95kb.
To reduce more size, just use gzip compression using Apache (mod deflate), PHP (ob_gz) or else. Or you can use Ali Farhadi (http://farhadi.ir/) script, where the code can be downloaded at http://code.google.com/p/smartoptimizer/.
There are two compressed files in the download file:
- prototype-min.js, compressed prototype (56kb)
- scriptaculous-min.js, compressed scriptaculous with all modules (47kb) , except unittest.js.
- The rest is prototype.js, scriptaculous.js and unittest.js.
*** edited on 28 Feb 2010: added protoculous version 1.6.1

[...] sont pas proposés en version compactée. En cherchant un peu, j’ai trouvé un package nommé Protoculous qui est une version compacté de Prototype et Script.aculo.us en un seul fichier ! Voilà une bonne [...]
I am not going to be original this time, so all I am going to say that your blog rocks, sad that I don’t have suck a writing skills
thanks,