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

Cache recent resolver results #61

Open
chapinb opened this issue Aug 2, 2020 · 0 comments
Open

Cache recent resolver results #61

chapinb opened this issue Aug 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@chapinb
Copy link
Owner

chapinb commented Aug 2, 2020

Since some APIs are limited, speed up resolutions by caching resent results from resolvers.

Considerations:

  • Where should we store the cache?
    • Platform specific. In common program/application data, preferably per user.
  • What structure/format to use for the cache?
    • Consider leveraging JSON to serialize the data
    • In addition to the results, it should hold the time it was cached and associated resolver name (ie ip-api)
  • How long to keep a result cached?
    • Default to 24-hours?
  • Allow ignoring cache on execution
  • Allow clearing cache on execution
@chapinb chapinb added the enhancement New feature or request label Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant