Should I use Google's JSAPI in production code?

后端 未结 8 1635
傲寒
傲寒 2020-12-25 13:59

Possible duplicate of:

should-i-link-to-google-apis-cloud-for-js-libraries

also many other discussions, including:

Where do you incl

8条回答
  •  囚心锁ツ
    2020-12-25 14:55

    I think this method will help you a lot for the following reasons:

    Google uses a Content Delivery Network and that will make that the users that are far away from your location can download your jquery libraries faster than if they did that from your site.

    Also it will reduces the request to your server and will make first time users to download jquery javascript from google's server, and if the user has been in another similar site with this kind of implementation he won't need to download it again.

    So I think that this will help you app/site

提交回复
热议问题