TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Is cdnjs.com ready for use?

5 点作者 alexforget将近 14 年前
There was a post about www.cdnjs.com 5 months ago http://news.ycombinator.com/item?id=2132553.<p>There were some DNS problems at that time and thus most people were concerned about reliability. Now that it is powered by cloudflare.com, do you think that the timing is right to let global javascript hosting to cdnjs.com?

2 条评论

dstein将近 14 年前
Using a CDN that you don't control to host your javascript is a bad idea. Don't do it. Not only is it adding another dependency, you are cross-site scripting yourself and probably adding latency to your site due to the added cost of another domain to open http connections to.<p>CloudFront is cheap, and you can throw all your static files on it.
ryankirkman将近 14 年前
Hi Alex, The DNS issue to which you are referring was only with our website. The CDN was unaffected, and is completely insulated from the website.
评论 #2698396 未加载