I’ve been super unhappy using stackoverflow recently, not to mention the slow loading and the inability to refresh styles, which greatly affects work efficiency.
After checking the reason, it turns out that the stackoverflow website points to CloudFlare, an awesome CDN, but this domestic CDN is blocked, so...
How to solve it? Woolen cloth? I found a pointing resource on the Internet for quick switching in case of CDN failure. The URL is www.sstatic.net.
There are two ways to solve the current problem:
Click directly on the Stack Exchange family of websites in the picture above, and it will jump to the stackexchange.com website. After jumping over, refresh the website you want to visit again, and you should be able to access it normally.
The way to save a few months once and for all: manually modify the local Host file
首先本地获取到 cdn.sstatic.net 的 IP
ping cdn.sstatic.net
获取到 IP 后,修改 Host 文件
Linux:
/etc/hosts
WINDOWS:
C:WindowsSystem32driversetchosts
将你 ping 到的 IP 地址(x.x.x.x)加到 hosts 文件中即可。
x.x.x.x cdn.sstatic.net
Second The disadvantage of this method is that the IP address is sometimes unstable and needs to be changed after a few months.
It is recommended to use the first method, after all, similar problems have only been encountered for a long time.