Prototype and script.aculo.us, combined and compressed
Nothing new here. I've combined Prototype 1.6.1 and the various files that make up script.aculo.us 1.8.3 (except unittest.js) into one file, which I've minified using the YUI Compressor. Further compression has been achieved by gzipping the minified file. All three versions are available for download:
- prototype+scriptaculous.js (≈266.8 kB)
- prototype+scriptaculous.min.js (≈158.3 kB)
- prototype+scriptaculous.min.js.gz (≈44.7 kB)
I suggest including the Prototype and script.aculo.us version numbers in the
src:
<script type="text/javascript"
src="/scripts/prototype+scriptaculous.min.js?p=1.6.1&s=1.8.3"></script>
This prevents caching issues that might otherwise arise upon updating to a newer version of prototype+scriptaculous (I'll update the three files — and this post — each time a new version of Prototype is released).