Closed git-harry closed 7 years ago
Ready for review once the connected issue is approved.
I've used this and it works perfectly. I'd say it's ready for a merge.
@sigmavirus24 If you have time to help out with this, it would be most helpful.
Yep. This looks perfect. Will probably need a touch-up once I get around to making cachecontrol appropriate for cratonclient. 🎉
@jpmontez @sigmavirus24 @git-harry Thanks people!
Add file-based caching to gh2. This reduces the number of API requests, that count toward the API rate limit, that need to be made by using cachecontrol to store the data from previous requests and manage changes using ETags.
Recent additions to gh2, such as label support, has increased the number of API requests that are being made causing rate limits to be hit more frequently. Without a mechanism to reduce the number of API requests that are counted by the rate limit, gh2 can be difficult to use without impacting general use of GitHub.
Connected https://github.com/rcbops/u-suk-dev/issues/489