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 invalidation mechanism #14

Open
xhacker opened this issue Nov 12, 2018 · 1 comment
Open

Cache invalidation mechanism #14

xhacker opened this issue Nov 12, 2018 · 1 comment
Milestone

Comments

@xhacker
Copy link
Member

xhacker commented Nov 12, 2018

We should keep cache for like...3 month?

@aquarhead
Copy link
Member

I think we can try to do an exponential expiry, and have a threshold (like 3month) after which we cache it forever? (or fixed to account for upstream update) The progress will reset if upstream response doesn't match cached result.

(Maybe) need to add a small randomization to avoid refreshing all the things at the same.

@aquarhead aquarhead self-assigned this Nov 12, 2018
@aquarhead aquarhead added this to the v2 milestone Nov 12, 2018
@aquarhead aquarhead removed their assignment Sep 9, 2020
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

2 participants