Skip to content

Conversation

gthess
Copy link
Member

@gthess gthess commented Mar 12, 2024

This will bound the minimum TTL for negative answers overriding cache-min-ttl, if set, for negative answers.
Setting cache-min-negative-ttl: 1 while cache-min-ttl is also set would allow for upstream negative replies to not be capped while regular replies would be bounded to cache-min-ttl.
Related to #970 and #978.

Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code change looks good! The extra option complements the existing options for cache TTLs.

@gthess gthess merged commit 708d522 into master Apr 5, 2024
@gthess gthess deleted the features/cache-min-negative-ttl branch April 5, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants