unbound/cache.conf: add prefetch & prefetch-key

This commit is contained in:
Aminda Suomalainen 2024-04-07 17:34:36 +03:00
parent f42d800872
commit b03218c78b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 0 deletions

View File

@ -15,3 +15,8 @@ server:
# minute in the wild, I think 5 mins shouldn't break anything, but bigger
# might.
cache-min-ttl: 900
# Update cache for popular items before they expire. ~10 % traffic
# increase according to `man unbound.conf`
prefetch: yes
# Fetch keys when DS is encountered, lower latency for a bit higher CPU use
prefetch-key: yes