无法在CDN上加载资源:net :: ERR_CONNECTION_RESET [英] Failed to load resource: net::ERR_CONNECTION_RESET on CDN

查看:791
本文介绍了无法在CDN上加载资源:net :: ERR_CONNECTION_RESET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,在我正在工作的网站上,我注意到Chrome控制台中出现以下错误。

Recently, on the website I'm working on, I've noticed the below error in the Chrome console.


失败加载资源:net :: ERR_CONNECTION_RESET
http://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css

bootstrapcdn.com URL在我尝试在其他选项卡中打开时有效。确实减慢了页面加载时间,但这仅在此浏览器中发生,并且仅在我的PC上发生。我从另一台PC上检查了Chrome,但没有任何变化。

The bootstrapcdn.com URL works when I try to open it in a different tab. It's really slowing the page load time but it's only occurring in this browser, and only on my PC. I checked on Chrome from another PC and nothing changes.

我尝试清除Cookie,但这没用。知道可能是什么吗?

I tried clearing my cookies but that did not work. Any idea what it could be?

推荐答案

下载文件&资产然后从您自己的服务器提供服务。

Download the file & assets then serve it from your own server.

您将失去分发内容的好处,但获得与您自己的服务器相同的稳定性,并能够设置自己的缓存规则。

You'll lose the benefit distributed content, but gain stability equivalent to your own server and be able to set your own caching rules.

如果您确实希望/需要分配资产,请注册现有的CDN服务,然后开始通过该服务发送所有资产。

If you really want/need your assets distributed then sign up to an existing CDN service and start sending all your assets through there.

这篇关于无法在CDN上加载资源:net :: ERR_CONNECTION_RESET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆