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

Use HTTP-based caching #73

Merged
merged 6 commits into from
Jul 12, 2017
Merged

Use HTTP-based caching #73

merged 6 commits into from
Jul 12, 2017

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented Jul 12, 2017

Instead of caching the JSON responses forever we will now use https://github.com/zkat/make-fetch-happen for caching which will use proper HTTP caching semantics. This means that even for cached API responses we will do HTTP requests, these requests will have proper cache headers though and likely return 304 responses that don't count towards the request limit on GitHub.

The cacheDir setting is still used as before, but the folder layout looks a little different now. Ultimately we should probably remove that option and use the system cache folders instead.

tl;dr instead of caching forever we will now be able to see changed PR descriptions or labels while still caching the stuff that hasn't changed 🎉

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

Successfully merging this pull request may close these issues.

1 participant