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

Add caching for GitHub data. #19

Open
iphydf opened this issue Dec 18, 2016 · 1 comment
Open

Add caching for GitHub data. #19

iphydf opened this issue Dec 18, 2016 · 1 comment

Comments

@iphydf
Copy link
Member

iphydf commented Dec 18, 2016

  • When requesting data from the GitHub api, put it in a cache.
  • Subsequent requests should use that cache.
  • When receiving webhooks from GitHub, use the information passed in it to update the cache.
  • Give each piece of data a "freshness" property so that if we miss a webhook, or if the data hasn't been fetched in a while, we can re-fetch it.
@iphydf
Copy link
Member Author

iphydf commented Jan 4, 2017

As a first step, this cache doesn't need to be persistent.

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