-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
求助缓存设置优化 #1683
Comments
建议先看看日常使用会缓存多少 |
上次重启 刚删的缓存 cache-checkpoint-time 43200 |
移动宽带 非公网 |
所以设置上那么大 实际上没有多少的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
serve-expired yes
serve-expired-ttl 2592000 #这个值设置大点如果不是热域名 也不怎么更新预读吧?
prefetch-domain yes
serve-expired-prefetch-time 21600 #6小时更新预读 是只更新热域名对吧?
dualstack-ip-selection yes
dualstack-ip-selection-threshold 25
max-reply-ip-num 30
cache-size 26668
大概7天左右 家庭环境下(人不多5人)会有12m左右的缓存
然后 阿里云 腾讯Google dns开始限制了 log 一堆 “Handshake with 223.5.5.5 failed, Connection reset by peer ”
stop 删了缓存 启动 不报错了
按照介绍 缓存预读取只会更新经常访问的域名
按理说 即使 cache-size 和serve-expired-ttl 设置大些 应该也没问题啊
The text was updated successfully, but these errors were encountered: