Compressed prototype.js & scriptaculous.js
I compressed both prototype.js version 1.6.0.2 and scriptaculous.js version 1.8.1 using PHP version of Javascript Packer by Dean Edward (http://dean.edwards.name/packer/) in one file, and the result is about 95kb. There is also the prototype only without scriptaculous.
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 files in the download file:
- prototype-min.js, compressed prototype only (50kb)
- protoculous.js, compressed prototype and scriptaculous (95Kb). I named it as protoculous.js, to distinguished it from original prototype.js or scriptaculous.js.
About this entry
You’re currently reading “Compressed prototype.js & scriptaculous.js”, an entry on Lokamaya
- Published:
- 22 November 2008
- Category:
- Download/ Javascript
- Comment:
- 1 Comment



1 Comment
Add comment | comments rss | trackback