I've noticed a lot of websites are linking to external scripts located on third party hosts. One very common example is jquery. On serverfault/stackoverflow/superuser jquery is linked to the address at googleapis.com.
What are the benefits of this vs hosting the file on your own site?
Some of the factors can be as follows:
On own host
- Visitor privacy, not disclosed to third party
- won't get caught in browser request policies
- Not dependent on third party uptime
Third party hosting
- Automatic updates
But what are the major reasons for choosing one or the other?
Although I have an opinion of my own my goal with this question is to get an understanding of why other choices are made.