Why should I use Google's CDN for jQuery?

后端 未结 7 1542
长发绾君心
长发绾君心 2020-11-22 06:21

This may be obvious to some, but I\'ve been wondering: why should I depend on Google\'s server to host jQuery for my site?

Is it only because it loads faster this wa

相关标签:
7条回答
  • 2020-11-22 06:57

    A major reason NOT to let Google host your jQuery, one that many people don't think about, is that it won't download if you are in China. It's blocked along with many other scripts, fonts etc... hosted by Google CDN's. If you need to reach a Chinese audience you're best to always use a fall back hosted on your own server. Google APIS Blocked in China

    0 讨论(0)
提交回复
热议问题