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

supercd: cache results #116

Open
pfuntner opened this issue Aug 2, 2024 · 0 comments
Open

supercd: cache results #116

pfuntner opened this issue Aug 2, 2024 · 0 comments
Labels

Comments

@pfuntner
Copy link
Owner

pfuntner commented Aug 2, 2024

I had an idea for improving the speed of supercd:

  • A successful search is added with a timestamp to a cache (likely a JSON file)
  • The cache is examined before any search to see if it can serve up a previous search result
  • Searches will age out after time and be removed from the cache

I think it would be useful to have this feature off by default but enabled with some sort of flag like --with-cache.

@pfuntner pfuntner added the idea label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant