How secure are CDNs for delivering jQuery?

前端 未结 4 1667
醉话见心
醉话见心 2021-02-05 04:41

We build sites that have a public (non-secured) area and secured (delivered over HTTPS) area and we use jQuery library.

Recently I suggested we use Google CDN for jQuery

4条回答
  •  一个人的身影
    2021-02-05 05:29

    If trust exists online then Google is the most trustworthy...

    There is no doubt that Google CDN is secure, but problems always always come from user's/server's Internet connection quality.

    By the way, if you include the jQuery library with Google API loader script, Google adds some small stat tracking code to it's CDN available JavaScript libraries (about +4kb, see in Firebug) that makes 20kb minified and compressed jQuery library a bit heavy, plus foresee SSL speed.

    Anyway minifying/compressing/caching jQuery isn't a problem these days, I suggest make your own...

提交回复
热议问题