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.
I would be great if core team can add a minified version to the google
api, I think having both versions would be great (having a non
minified version reduced the ySlow grade btw) but if we could have
something like:
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/min/prototype.js
(notice
Hi Tom,
The Prototype version hosted by Google seems not to be compressed. I
haven't look deep, but if it loads this URL
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js ,
then it is not compressed.
yanick
On Oct 3, 12:22 am, Tom Gregory [EMAIL PROTECTED] wrote:
There is
Isn't that what I said? The advantage from Google is not compression,
but caching (if multiple sites use it).
There was talk at one point of releasing an official compressed
version so Google could use it. I don't remember the outcome of that
conversation.
TAG
On Oct 3, 2008, at 5:04
Google's version is gzipped. Prototype 1.6, when gzipped, is only 28K
over the wire. And with Google's content distribution network and
proper cache settings, it'll be downloaded only once. This is what
people should be using if they want a compressed version.
Thanks, Andrew. I'm glad to be corrected on this.
TAG
On Oct 3, 2008, at 8:34 AM, Andrew Dupont wrote:
Google's version is gzipped. Prototype 1.6, when gzipped, is only 28K
over the wire. And with Google's content distribution network and
proper cache settings, it'll be downloaded only
So Andrew, are you suggesting I use the one from
http://groups.google.com/group/prototype-core/files
under the file:
protopack_v2.1.zip prototype-1.6.0.2-shrinkvars.js.gz (24 kb)?
On Oct 3, 7:49 am, Tom Gregory [EMAIL PROTECTED] wrote:
Thanks, Andrew. I'm glad to be corrected on this.
TAG
There is no official compressed version.
I use jsmin. (jsmin.org) Other tools work too.
Some use proto-packed http://groups.google.com/group/prototype-core/files
but I don't know whether it's up to date. (You'll have to check.)
There is also the Google-hosted version. It's not compressed,