I have included a reference to Google’s JQuery library in my markup:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
Is it safe to do this? How do I know Google won’t change the address, or remove it altogether? I really can’t afford to have my app break without warning.
What do other people do?
Have the best of both worlds. Use theirs for fast, possibly pre-cached, delivery and in case their server goes down (more likely than them moving it) fallback to your own:
Taken from: Best way to use Google's hosted jQuery, but fall back to my hosted library on Google fail