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

Implement L2 cache #7

Open
mrsarm opened this issue Mar 17, 2017 · 0 comments
Open

Implement L2 cache #7

mrsarm opened this issue Mar 17, 2017 · 0 comments

Comments

@mrsarm
Copy link
Owner

mrsarm commented Mar 17, 2017

Currently there is a L1 cache that allows recover the resource from the cache, but if the time expires, reqclient goes to the server to get a fresh value blocking the request until the response (but asynchronous, of course ;) .

The L2 cache could never expire, or have a higher TTL, and the most important, it will allow to reqclient return a value and fire the request to get a fresh value for the next call (the value obtained from the server will update both caches).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant