Where do you include the jQuery library from? Google JSAPI? CDN?

后端 未结 16 1676
攒了一身酷
攒了一身酷 2020-11-22 09:21

There are a few ways to include jQuery and jQuery UI and I\'m wondering what people are using?

  • Google JSAPI
  • jQuery\'s site
  • your own site/serv
16条回答
  •  太阳男子
    2020-11-22 10:20

    I wouldn't want any public site that I developed to depend on any external site, and thus, I'd host jQuery myself.

    Are you willing to have an outage on your site when the other (Google, jquery.com, etc.) goes down? Less dependencies is the key.

提交回复
热议问题