Prototype 1.6.0.3 unmodified + gzipped from Google's servers:
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js
Firebug reports it's 31kb. On my filesystem it's 29,998 bytes.
Prototype 1.6.0.3 minified + gzipped:
Firebug reports it's 22kb. On my filesystem it's 21,564 bytes.
Saved 9kb.
* * * * * *
Scriptaculous 1.8.1 unmodified + gzipped from Google's servers
(includes builder, effects, dragdrop, controls, slider, sound by
default):
http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.1/scriptaculous.js
Firebug reports it's 7 requests and 33kb total. On my filesystem it's
~30,235 bytes.
Scriptaculous 1.8.1 minified + gzipped (includes builder, effects,
dragdrop, controls, slider, sound):
Firebug reports it's 21kb total. On my filesystem it's 20,246 bytes.
Saved 12kb
Include Prototype's 9kb savings for * 21kb total saved. *
* * * * * *
Prototype 1.6.0.3 + Scriptaculous 1.8.1 unmodified + gzipped from
Google's servers (includes effects):
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js
http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.1/scriptaculous.js?load=effects
Firebug reports it's 3 requests and 42kb total.
Prototype 1.6.0.3 + Scriptaculous 1.8.1 minified + gzipped (includes
effects):
Firebug reports it's 29kb total. On my filesystem it's 28,138 bytes.
Saved 13kb
* * * * * *
jQuery 1.2.6
http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js
Firebug reports 17kb.
On my filesystem re-compressed with Packer 3 (var shrink) it's 15,142
bytes.
Firebug reports 16kb.
* * * * * *
I don't see the "trouble" in providing a minified version.
Every major js framework as had no trouble providing one.
The only trouble I see is in user/developer relations when potential
users
get the impression that the core devs just don't care enough to
provide one. (Even
when handed everything to accomplish it.)
In the readme_first.txt, included in the pack, I mention YUI
compressor is compatible with Prototype's use of the $super variable
and I
provide a customized Dean Edwards Packer 3 (with $super support as
well).
I also link to articles about mod_deflate and provide a
sample .htaccess setup for mod_deflate.
- JDD