首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >打开git或者vue官网太慢

打开git或者vue官网太慢

作者头像
终有链响
发布2024-07-29 18:34:23
发布2024-07-29 18:34:23
1790
举报
文章被收录于专栏:终有链响终有链响

场景 最近弄git和vue发现进他们的官网实在是太慢了,想自己能不能改善一下,后来自己指定了一下ip跳过了dns解析,现在把解决过程写一下。

解决方案

先进入

代码语言:javascript
复制
C:\Windows\System32\drivers\etc
修改HOSTS 
修改之前先备份下HOSTS

git下过慢 在HOSTS中加入如下参数

代码语言:javascript
复制
185.31.17.184  github.global.ssl.fastly.net
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 

vue下过慢

代码语言:javascript
复制
104.248.78.24 cn.vuejs.org
104.248.78.24 router.vuejs.org
104.248.78.24 vuex.vuejs.org

最后刷新DNS缓存

代码语言:javascript
复制
cmd命令下
输入
ipconfig/flushdns 
回车

到此问题应该解决。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2024-02-27,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 解决方案
  • vue下过慢
  • 最后刷新DNS缓存
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档