Why should I use Google's CDN for jQuery?

后端 未结 7 1543
长发绾君心
长发绾君心 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:55

    Usign CDN with a Service Worker, you can download the CDN once in the client lifetime, and not every time you update your code.

提交回复
热议问题