About The Code
The code itself is written rather cleanly in an attempt to self-document.
All of the code is available in two formats:
- Compressed (which allows you to have a significantly smaller file size)
- Uncompressed (good for debugging and to understand what is behind the magic).
CDN Hosted jQuery
A number of large enterprises provide hosted copies of jQuery on existing CDN networks that are available for public use. Below are links to the CDN-hosted copies of jQuery that you may hotlink to.
- Google Ajax API CDN
- Microsoft CDN
- jQuery CDN (via Media Temple)
This is the recommended version of jQuery to use for your application. The code in here should be stable and usable in all modern browsers.
The minified versions, while having a larger file size than the packed versions (note: packed version is not available in current release), are generally the best versions to use on production deployments. The packed versions require non-trivial client-side processing time to uncompress (unpack) the code whereas the minified versions do not. The packed versions of jQuery will take less time to download than the minified or uncompressed versions; however, each time the library is loaded (initially or from the browser cache) it will need to be uncompressed which will cause a non-trivial delay in the execution of any jQuery code each time it is loaded.