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 information from the device #16

Closed
fhunleth opened this issue Jan 30, 2019 · 0 comments
Closed

Cache information from the device #16

fhunleth opened this issue Jan 30, 2019 · 0 comments

Comments

@fhunleth
Copy link
Contributor

Since the device is so slow and so much of it is read-only, it would really be nice to cache responses to avoid waiting.

fhunleth added a commit that referenced this issue Feb 7, 2019
This is a trivial cache that speeds up reads and the slow genkey call to
return the public key. It's invalidated by nearly everything. In
practice, though, normal operation is readonly and writes are only at
provisioning time.

Fixes #16
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

1 participant