解决github加载慢的问题
解决Github加载慢的步骤如下:
1. 查域名(网上有查域名的网址)
2. 修改hosts文件 位置为C:\Windows\System32\drivers\etc\hosts,使用notepad++或者管理者模式的记事本打开。
3. 粘贴
# GitHub Start
140.82.114.4 github.com
185.199.108.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.110.154 github.githubassets.com
185.199.111.154 github.githubassets.com
140.82.113.3 gist.github.com
151.101.108.153 assets-cdn.github.com
151.101.109.153 assets-cdn.github.com
151.101.110.153 assets-cdn.github.com
151.101.111.153 assets-cdn.github.com
199.232.96.133 gist.githubusercontent.com
199.232.96.133 cloud.githubusercontent.com
199.232.96.133 camo.githubusercontent.com
199.232.96.133 avatars0.githubusercontent.com
199.232.96.133 avatars1.githubusercontent.com
199.232.96.133 avatars2.githubusercontent.com
199.232.96.133 avatars3.githubusercontent.com
199.232.96.133 avatars4.githubusercontent.com
199.232.96.133 avatars5.githubusercontent.com
199.232.96.133 avatars6.githubusercontent.com
199.232.96.133 avatars7.githubusercontent.com
199.232.96.133 avatars8.githubusercontent.com
# GitHub End
4. 刷新DNS
在cmd中输入ipconfig /flushdns即可刷新,然后重启浏览器,不行的话再重启电脑,这样就能成功打开github了,所有图片和内容都能加载。