serve-expired: new feature, support cache serve-expired feature

This commit is contained in:
Nick Peng
2020-02-15 15:24:03 +08:00
parent 8f40eba083
commit 8990446411
14 changed files with 167 additions and 46 deletions

View File

@@ -292,6 +292,8 @@ load_service()
config_get prefetch_domain "$section" "prefetch_domain" "0"
[ "$prefetch_domain" = "1" ] && conf_append "prefetch-domain" "yes"
config_get serve_expired "$section" "serve_expired" "0"
[ "$serve_expired" = "1" ] && conf_append "serve-expired" "yes"
SMARTDNS_PORT="$port"