16 Nov
2005
16 Nov
'05
2:49 a.m.
At 11:34 AM +1100 16/11/05, Jeremy Epstein wrote:
Prototype does indeed seem to be a very light, clean, and extensible library: but nonetheless, it is nowhere near as light as drupal.js. Quick comparison:
Drupal.js: 281 lines, 6.21KB Prototype.js: 1039 lines, 27.29KB
All the Drupal .js files combines come to 18 kB. Is it possible to strip prototype down a bit? There are a lot of comments in the file that wouldn't be needed in a live site. What about separating it into function-related files and just sending the bits the page needs? ...R.