Prototype Compressed

I am a prototype user, but i want to save some bandwidth using a compressed version, so i start looking for it and i found a compressed version called
protopack it includes different versions, just spaces removed ( no eval required ), encrypted(eval required) and gziped version for both. i prefere the just spaces removed version since it dosen’t require use of eval.

Another good option is to use the Google AJAX Libraries API that serves a compressed version of prototype that will be cached by a year and sent with compression headers , you can include it using the full url or the Googles’s API

  1.  
  2. "text/javascript""http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"
  3.  
  4. OR
  5.  
  6. "text/javascript""http://www.google.com/jsapi"
  7. "text/javascript"
  8. google.load("prototype", "1.6.0.2");
  9.  
  10.  
  11.  

You can find compressed versions of scriptaculous, jQuery, MooTools, dojo as well.
The bad thing is there are no https support so it wont work for secure sites.

Leave a Reply

Your email address will not be published. Required fields are marked *