Is it safe to reference google's JQuery library?

后端 未结 5 1238
故里飘歌
故里飘歌 2021-02-07 15:49

I have included a reference to Google\'s JQuery library in my markup:



        
5条回答
  •  没有蜡笔的小新
    2021-02-07 16:22

    Have the best of both worlds. Use theirs for fast, possibly pre-cached, delivery and in case their server goes down (more likely than them moving it) fallback to your own:

    
    
    

    Taken from: Best way to use Google's hosted jQuery, but fall back to my hosted library on Google fail

提交回复
热议问题