Hey Ulf,
Originally posted by Ulf Dittmer:
One of the things I've been wondering is whether it's possible to prune some of the code if all I need are the above-mentioned calls. I would like to cut down on those 126KB, if at all possible.
I'm afraid the codebase for Prototype is rather tightly coupled; this is because we're trying to eat our own dog food as much as possible to actually
reduce the code footprint. The stance on file size at Prototype Core is that the best way to serve static assets is through a proper cache configuration on the server side (e.g. proper E-Tags) and gzipping whenever possible. A more tepid approach is to pack/minify the lib; people maintain such versions of Prototype when we push out a new release.
Still, I figure some parts can be cut off, but I'm not sure you really want to go with a custom version of the lib that you would need to reshape every time a new version of Prototype comes out and you'd like to leverage its fixes / improvements / new features�
'HTH