Skip to content
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

Add option to disable auto-extending of expiration with Get #12

Closed
sagarkrkv opened this issue Jul 24, 2018 · 2 comments
Closed

Add option to disable auto-extending of expiration with Get #12

sagarkrkv opened this issue Jul 24, 2018 · 2 comments

Comments

@sagarkrkv
Copy link

I'm planning to use this library as a backend for DNS caching in a proxy server.

After the TTL expires, I plan to fetch a new and possibly updated value from the DNS server. The auto-extending of TTL with Get() will result in the cache never being updated and potentially having stale values.

@ReneKroon
Copy link
Contributor

Released with 1.2.0

@jpmeijers
Copy link

How do one do this in V3?

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

No branches or pull requests

3 participants