Skip to content

Question: Caching #4002

Answered by EugeneOne1
ErSpieltHD asked this question in Q&A
Dec 24, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Please use Discussions section for such kind of questions.

The primary purpose of the optimistic cache is to respond with expired cache entries while refreshing those in the background. Thus it should reduce the time spent on resolving responses on demand. However, it introduces the possibility of outdated response data if the actual DNS record at the upstream server has been updated. That is why such responses having a diminished TTL of 60 seconds. In general, optimistic caching feature doesn't increase the resources used since it works with the same storage the common cache works with.

The number of cached DNS entries is controlled by the Cache size setting in DNS settings section. It's…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ErSpieltHD
Comment options

@EugeneOne1
Comment options

Answer selected by ErSpieltHD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4001 on December 24, 2021 09:40.