Github to solve the problem of slow image loading

I. Introduction

This paper describes a method Github slow image loading solutions, effective pro-test.

I blog pictures are stored on Github, the picture is open every blog loads slowly or do not load it. This is because GitHub's CDN was blocked a wall, because of the network of agents, so access is very slow to download.


Second, the way

Objective: To bypass the DNS resolution, direct binding host locally.
Ideas: directly modify the local hosts file.
Implementation: through the directory C: \ Windows \ System32 \ drivers \ etc to find the hosts file, add the IP and the corresponding URL. If you can not open, you need to modify the file permissions. Modify file permissions: Check the hosts file - Properties - Security - Select the column containing the User (on behalf of user actions) - Edit - All allowed.

1. Open Dns detection | Dns query - Webmaster Tools

2. Enter detecting input field http://github.com

3. The detection of the list of the smallest IP TTL value added to the hosts in, and the corresponding write on github official domain name.

E.g:

# Github
192.30.253.113 www.github.com
140.82.114.4  www.github.com
140.82.113.4  www.github.com 

After you add and save, we'll use win + R, type cmd into the console, enter the command ipconfig / flushdns Refresh DNS.

Restart your browser, you're done.


reference:

Perfect to solve the problem of slow turn on github

GitHub site slow to load problem solving


Guess you like

Origin www.cnblogs.com/linuxAndMcu/p/12048572.html