15
头图

foreword

  • Use mirror download
  • Download through proxy website
  • Gitee transfer fork warehouse download
  • Modify the HOSTS file for acceleration
  • ladder (omitted)

articles are published on my personal website, and the reading experience is better

Added high speed download (accelerated download) for Github , Git Clone , Release , Code(ZIP) and other files of Raw .

Second install GitHub acceleration plugin

Provides Release , Code(ZIP) , tag file acceleration.

Download through proxy website

Release, Code(ZIP) file acceleration:

Git Clone Speedup:

Which one is faster, please find some large files to measure the speed by yourself.

Gitee transfer fork warehouse download

Visit gitee website and log in, select "Import warehouse from GitHub/GitLab " at the top as follows

Paste your Github repository address on the page and click Import


The import is successful, the git clone warehouse, the download speed can reach 2MB/s , but it is a little troublesome.

Modify the HOSTS file for acceleration

Since a meeting in early March 2021, has been intermittently unable to access Github in many regions.
In this case, it is useless to change the DNS or the Hosts, because the SNI of the Github domain name is interfered/blocked. When any IP points to Github for access, the 443 port of the IP will time out for 3 minutes!
Because of random interference, sometimes encounter "briefly" available IPs

If you are interested, you can read this article explaining the analysis in detail: https://www.v2ex.com/t/758568

So modify the HOSTS file to speed up whether the method is still effective, you can test yourself.

Timing Sync

Add a rule:

  • Project name: GitHub
  • Type: Remote
  • URL address: https://gitee.com/ineo6/hosts/raw/master/hosts
  • Automatic update: 1 hour

flush DNS cache

Open the terminal and enter the corresponding command

// Mac用户
sudo killall -HUP mDNSResponder

// Win
ipconfig /flushdns
Original address: https://github.com/ineo6/hosts

If you are interested, you can read the article SwitchHosts! You can also manage hosts in this way. I regret not using it earlier to learn more about it. There are introductions and methods for refreshing the DNS cache on each platform.

reference


星野
410 声望1.2k 粉丝