Failed to load resource: net::ERR_CONNECTION_RESET on CDN

巧了我就是萌 提交于 2020-06-11 17:12:47

问题


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

Failed to load resource: net::ERR_CONNECTION_RESET http://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css

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.

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


回答1:


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.

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



来源:https://stackoverflow.com/questions/33169711/failed-to-load-resource-neterr-connection-reset-on-cdn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!