爲了提升速度,可使用HOSTS加速對Github網站加載的資源網站域名解析。git
具體作法:github
修改 C:\Windows\System32\drivers\etc 中的hosts文件(PS:若沒有修改權限,能夠鼠標右鍵,屬性,安全,修改權限。或者將hosts文件複製到桌面,修改以後,複製到原文件夾),將下面一段話添加到hosts文件中:安全
# GitHub Start 192.30.253.112 github.com 192.30.253.119 gist.github.com 151.101.100.133 assets-cdn.github.com 151.101.100.133 raw.githubusercontent.com 151.101.100.133 gist.githubusercontent.com 151.101.100.133 cloud.githubusercontent.com 151.101.100.133 camo.githubusercontent.com 151.101.100.133 avatars0.githubusercontent.com 151.101.100.133 avatars1.githubusercontent.com 151.101.100.133 avatars2.githubusercontent.com 151.101.100.133 avatars3.githubusercontent.com 151.101.100.133 avatars4.githubusercontent.com 151.101.100.133 avatars5.githubusercontent.com 151.101.100.133 avatars6.githubusercontent.com 151.101.100.133 avatars7.githubusercontent.com 151.101.100.133 avatars8.githubusercontent.com # GitHub End
以上信息來源於網站:http://neue.v2ex.com/t/320178,感謝評論區chenxuhua的分享。網站
保存hosts文件,從新打開Github網站,一切正常。spa