We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
好吧,从技术上讲,它不是 CDN,但你可以直接链接到 github
我自己没有尝试过,也不知道他们是否会在任何特定时刻更改它。但这是一个不必自己托管的解决方案。
对我来说,我会把它放在我自己的服务器上,我不喜欢有依赖性,而且它们是小文件。但如果你想压缩每一毫秒,我会测试一下。您的服务器可能更快,并且已经建立了与它们的连接。
同时,许多浏览器对每个域都有连接限制,因此您可能会获得并行下载,CDN 也很好,因为用户通常已经缓存了资源(尽管在这种情况下不太可能)。
就我个人而言,我不会这样做,除非是谷歌、微软、亚马逊等……并且他们专门为此目的将其放在他们的服务器上。我使用 Google CDN for jQuery,它非常棒。但蓝图还没有出现。
Well, it's not technically a CDN but you can link directly to github
I haven't tried this myself, and don't know if they might change it at any given moment. But it's a solution for not having to host it yourself.
For me, I would put it on my own server, I prefer not to have the dependency, and they are small files. But if you're trying to squeeze every ms I'd test it. Your servers may be faster, and a connection to them is already established.
At the same time, many browsers have a connection limit for each domain, so you may get parallel downloads, also a CDN is nice because the user often has the resource already cached (although, not likely in this case).
Personally, I wouldn't do it, unless it's Google, Microsoft, Amazon, etc... and they're putting it on their servers specifically for the purpose. I use the Google CDN for jQuery, and it's great. But Blueprint just isn't there yet.