gpt4 book ai didi

jquery - 在 Google 托管 jQuery 有任何问题/缺点吗?

转载 作者:行者123 更新时间:2023-12-03 22:00:22 25 4
gpt4 key购买 nike

我听说有些人在访问从 Google 获取 jQuery 的网站时遇到问题,因为他们的公司防火墙不喜欢网站从其他网站获取代码,即跨站点脚本?

有人遇到过这样的问题吗?

最佳答案

一个问题是,Google 的服务器可能而且确实会在最糟糕的情况下停机。在我对问题“What was your most uncomfortable programming experience?”的回答中,我回答:

I was demonstrating my team's new web application to a group of potential users. I took a few minutes to talk about all the cool stuff the Google Visualization API can do, since we were using it heavily in our application. To demonstrate, I decided to graph a few sets of data we have collected previously. It was intended to convey the message: "Look how easy it is! Regular people can make good looking graphs using our product."

As luck would have it, the Google servers that hosted the Javascript files necessary to use the Visualization API decided to stop working midway during my presentation. I sat in the chair, staring at the screen, mumbling to myself "but... but they're Google... their servers can't go down". The team tried to laugh it off, but everyone realized at that moment how dangerous it can be to rely on any third party (even one as big as Google) when it really counts.

我知道这似乎不太可能,但除非您确实别无选择,否则我建议不要在第三方服务器上托管关键文件,即使它们是 Google 的服务器。 让客户提示停电是很糟糕的。如果客户提示不是您的错且您无法解决的停电,情况会更糟

关于jquery - 在 Google 托管 jQuery 有任何问题/缺点吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/442894/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com