Skip to content

Use GitHub API caching when fetching repo metadata

Created by: ryanslade

The GitHub API supports caching, as described here

We should be able to use this when syncing repo metadata. Local testing indicates that this works for the repos/{owner}/{name} endpoint and most importantly doesn't incur any rate limiting when the repo has not been modified recently.

We should be able to use this in our repo syncer to reduce the load on the GitHub API.