-
Notifications
You must be signed in to change notification settings - Fork 15
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
API: Cache Responses #390
Comments
I can fill the missing description of this issue :)
This is checklist.
|
IMO, Redis would be satisfying the requirements. |
@kfangw Yes, redis will be good. There are some libraries for various kind of the existing cache system, https://github.com/avelino/awesome-go . |
The cache responses are handled by URL-based? If it is, how about CacheMiddleware? |
It will be good, if we can manage different cache policy by handler, as I described BlockAccount should be managed differrently. |
|
@spikeekips @Geod24 @Charleslee522 I would like to prefer this approach for |
Other than that, it looks pretty expressive 👍 |
|
I agree with this, and I think it's also more correct. |
I would like to do time expire based. (Not observer) |
What changed your mind ? Also, what is the strategy to avoid serving stale data ? |
|
No description provided.
The text was updated successfully, but these errors were encountered: