It is suggested you used the "minified and gzipp'd" version, as the
packed version will require additional processing to unpack or
decompress it, as mentioned on the jQuery site: 
http://docs.jquery.com/Downloading_jQuery

If you don't want to worry about correctly gzipping your source files,
or if yo ur server does not have the ability, you can link directly to
google's minifed+gzipped source files.
EG: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js @
16.7K is not bad :)



On Jul 16, 6:31 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> Thanks for clarifying Mika...please note Mika's comments.
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Mika Tuupola
> Sent: Wednesday, July 16, 2008 11:59 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: "Uncompressed", "Minified and Gzipped" and "Packed"
>
> On Jul 16, 2008, at 7:48 PM, Andy Matthews wrote:
>
> > Packed takes the source code and runs it through an algorithmn which
> > compresses variable names, methods, code, etc into one big line of
> > javascript. You can find more information about it, and pack your own
> > code,
> > here:
> >http://dean.edwards.name/packer/
>
> > Minified uses server side compression to further reduce the file size.
> > Drawback of this method is that your server needs to be equipped to
> > offer this version, and the file needs to be de-compressed on the
> > client side.
>
> Minifying does not use server side compression. Minifying means removing all
> unnecessary characters from source code, without changing its functionality.
>
> Minified JavaScript files are usually further packed by gzipping them.
> This is done on the fly by server. Apache comes with mod_deflate module by
> default. This handles gzipping.
>
> Packed files have to be uncompressed on client side too. While gzipped files
> are uncompressed by browser natively, packed files are "uncompressed"
> calling JavaScript eval() everytime page loads.
>
> --
> Mika Tuupolahttp://www.appelsiini.net/

Reply via email to