但是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免费加速
原文链接:https://blog.csdn.net/appleyuchi/article/details/105229177?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165918471416782388060823%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=165918471416782388060823&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-18-105229177-null-null.nonecase&utm_term=%E5%85%8D%E5%A4%87%E6%A1%88cdn
原创文章,作者:优速盾-小U,如若转载,请注明出处:https://www.cdnb.net/bbs/archives/1829