hubbs wrote on 7/21/2008 11:23 AM:
What exactly is the difference between minified and packed?

"Minified" is the JavaScript condensed; same code, just smaller in size (it 
removes extra white space, comments, etc).

"Packed" is the JavaScript compressed; it also includes a bit of JavaScript 
code to uncompress it.

The best solution is serving jQuery minified and have the web server gzip 
(compress) it for those browsers that support it.  Even if your web server 
doesn't support gzip compression, the minified version is still the better pick 
according to Resig:

-----
This means, in the end, that using a minifed version of the code is much faster 
than the packed one - even though its file size is quite larger.

<http://ejohn.org/blog/library-loading-speed/>
-----

Given the above, I'm not sure when or why you'd ever use the packed version.


- Bil

Reply via email to