|
Slimming Down Prototype & Scriptaculous
I really like prototype and scriptaculous but in combination they're HUGE. In total my js downloads on the site I'm working on at the moment is over 200Kb and thats minified, with gzip its down to 50Kb but thats still massive for what is essentially, a few minor interface niceties.
Now, I'm sure I could reduce that down massively if I could cut prototype and scriptaculous down to just the parts I'm using. Prototype is over 120Kb now (uncompressed) but all I'm really using it for is $() and the ajax stuff. I honestly don't use anything else that I can think of but I also use scriptaculous' autocompleter and occasionally the drag/drop & sorttables (but not often). I use prototip quite frequently too, so how can I shrink it all down without breaking anything or losing the functionality I've come to depend on.
Someone must have wanted to do this before now, but I've no idea what I would google for. Is there anywhere I can go to find out all the various dependancies?
|