问题
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