Freenom.com的域名+github pages+netlify的CDN加速

因为国内的CDN加速需要备案

但是Freenom.com的域名工信部不支持,

无法备案->无法CDN加速.

怎么办呢?花钱买域名吗?想让我花钱是绝对不可能的.

我们使用Netlify,界面虽然是英文的,但是非常友好 ,哪怕你不看文字,凭感觉操作都行.

让我们放弃DNSpod,去freenom.com中填入:

 

  • dns1.p03.nsone.net
  • dns2.p03.nsone.net
  • dns3.p03.nsone.net
  • dns4.p03.nsone.net

然后去点击上方地一个图片Done

 

终端检测效果:

(Python3.6) appleyuchi@ubuntu19:GIL锁$ ping GaussNoise.github.io
PING GaussNoise.github.io (185.199.108.153) 56(84) bytes of data.
64 bytes from 185.199.108.153 (185.199.108.153): icmp_seq=1 ttl=48 time=186 ms
64 bytes from 185.199.108.153 (185.199.108.153): icmp_seq=2 ttl=48 time=194 ms
64 bytes from 185.199.108.153 (185.199.108.153): icmp_seq=3 ttl=48 time=203 ms

 

(Python3.6) appleyuchi@ubuntu19:GIL锁$ ping www.yuchi.ml
PING gaussnoise.github.io (185.199.109.153) 56(84) bytes of data.
64 bytes from 185.199.109.153 (185.199.109.153): icmp_seq=1 ttl=48 time=198 ms
64 bytes from 185.199.109.153 (185.199.109.153): icmp_seq=2 ttl=48 time=191 ms
64 bytes from 185.199.109.153 (185.199.109.153): icmp_seq=3 ttl=48 time=190 ms

#---------------------------------------------------------------------------------------------------------------

我们来ping下没有cdn的github pages:

$ ping appleyuchi.github.io
PING appleyuchi.github.io (185.199.111.153) 56(84) bytes of data.
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=2 ttl=48 time=222 ms
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=3 ttl=48 time=237 ms
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=4 ttl=48 time=251 ms
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=5 ttl=48 time=237 ms
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=6 ttl=48 time=223 ms
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=7 ttl=48 time=230 ms
64 bytes from 185.199.111.153 (185.199.111.153): icmp_seq=8 ttl=48 time=246 ms
 

大概加速了30ms~40ms左右

过了一会儿继续ping

(Python3.6) appleyuchi@ubuntu19:~$ ping www.yuchi.ml
PING GaussNoise.github.io (185.199.110.153) 56(84) bytes of data.
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=2 ttl=48 time=242 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=5 ttl=48 time=266 ms

所以网上说的免费的CDN不稳定,是有道理的,这玩意儿充其量只能是你搭建蹄子的时候被封的时候用来解封的工具.

想要加速?省省吧...

所以没事儿不要折腾免费的CDN了

 

Reference:

[1]Github Pages访问太慢?通过Netlify免费加速

[2]CDN使用心得:加速双刃剑

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章