If you are writing a Drupal 7 module that uses jQuery please consider depending on jQuery Update or at least make sure the script works with jQuery 1.5.2.
CDN SupportAs an added bonus, a new feature in jQuery Update 7.x-2.2 makes it worth using for all sites. It provides integration with the Google and Microsoft CDNs for both jQuery and jQuery UI. In the performance admin settings page there is a selector to choose where to get jQuery from.
$min = variable_get('jquery_update_compression_type', 'min') == 'none' ? '' : '.min'; drupal_add_js('path/to/script' . $min . '.js');