-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
也许是一个更有效率的判断方式 #122
Comments
附gfwlist文件,中间有许多二级域名,也许可以再简化 !--我是开头--- |
我是懒得自己维护网站列表才开发 cow 的,所以不打算加各种 list。stat 文件能记录经常访问网站的状态,所以用一段时间后经常访问的网站性能问题就不大了。 如果真的非常在意性能,PAC 文件里加入 gfwlist 即可。 |
维护gfwlist的确需要精力。不过中国IP是已经分配完了的,加入一次即可。比手动添加各种国内白名单域名要有效且有效率。IPv4时代基本都不再需要怎么维护了。可以参考flora_pac项目。 |
我已经把gfwlist里_有可能_被墙的域名提取出来作为一个单独的文件了。现在作为blocked.txt使用,这样绝大部分网站就不需要撞墙再判断是否被墙,明显提高访问速度,减小stat的臃肿程度。
另外还有一个更加简洁的方案,可以和上面的同时加入。就是把国内的IP Range加入白名单机制,只要网站是国内的IP,则一律直连,不再判断或记录。
个人拙见。不知类似的方法能否考虑考虑?
The text was updated successfully, but these errors were encountered: