-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use sqlite database as storage for http cache #24
Comments
Some learnings to share from a 1-day spike into investigating this issue.
|
I'm moving this back to the backlog for now. |
A new caching mechanism was released with version 2.2.0 of Edit: |
The
ktor
library has support for caching HTTP requests, but that cache is in-memory only. We want to be able to cache requests across different calls to the executable, so we need to use a persistent store for that. Thektor
caching support is exposed via a simple interface that we can implement.The
ktorm
project can be used for connecting the cache database.In addition to the path to the sqlite database to work with, callers will also need to provide the name of the table to use for storage.
The text was updated successfully, but these errors were encountered: