开发者

Implementing fallback from Google AJAX Libraries API to local jQuery [duplicate]

This question already开发者_运维问答 has answers here: Best way to use Google's hosted jQuery, but fall back to my hosted library on Google fail (23 answers) Closed 9 years ago.

After looking up the advantages and disadvantages of using Google's AJAX Libraries API instead of using jQuery locally, I saw that someone wrote in an answer (here on Stack Overflow, of course) that it's possible to get around the downtime that Google's API sometimes experiences by somehow falling back to a local copy of the library you use.

I want to use Google's AJAX Libraries API on my site, but I'm concerned about this possible downtime and I'm curious how such a fallback procedure can be implemented.

Has anybody ever tried doing this? Can you point me towards some code that accomplishes such a feat?

Thanks in advance.


I guess you are looking for this answer

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜