网站加速调优
自从加了CDN之后我的博客偶尔会报错”重定向次数过多“
XXX.XXX.XXX 将您重定向的次数过多。
尝试清除 Cookie.
ERR_TOO_MANY_REDIRECTS





cloudflare CDN 中的https/ssl开启,github.io中的enforce https勾选不了
参考 https://gist.github.com/cvan/8630f847f579f90e0c014dc5199c337b

cloudflare page rule 设置参考文档https://support.cloudflare.com/hc/en-us/articles/218411427-Is-there-a-tutorial-for-Page-Rules-

试了还是不行参考
https://siriusq.top/github-pages-%E5%90%AF%E7%94%A8-cloudflare-%E5%8A%A0%E9%80%9F%E5%8F%8A-https.html
edge端开启alway use https 和Opportunistic Encryption(HTTP/2的新特性)


origin server端开启源端认证
把上图proxied先全部改为dns only,再回github page刷新
之后可以启用cdn的严格ssl模式


然后再回去把云朵都变黄,流量通过CF即可
改天再试试cloudflare Page,据说节点更好用一些https://hee.ink/p/%E4%BB%8E-github-pages-%E8%BF%81%E7%A7%BB%E5%88%B0-cloudflare-pages-%E7%9A%84%E4%BD%93%E9%AA%8C%E4%B8%8E%E8%B8%A9%E5%9D%91%E5%B0%8F%E8%AE%B0/


速度实在是惨不忍睹,,,
https://www.webpagetest.org/video/compare.php?tests=230113_BiDcCR_694-r:1-c:0








https://putong.one/speed-test.html






然而桌面端却好一倍,
https://developers.google.com/speed/pagespeed/insights/ 以上图片来源于此站点测试
主要还是图片大小问题了
优选CF IP https://github.com/badafans/better-cloudflare-ip