jkudish/WordPress-GitHub-Plugin-Updater — pull request #21 by coenjacobs (2012-10-11 19:16:09+00:00)
Title: Better ways to handle GitHub API calls and temporary store it

Changed a couple things:
1. Do not delete/recreate transients on page load (debug on) to save your options table indexes. Better to keep their expiration time updated,
2. Store GitHub data in class instance for future calls so the data only needs to be fetched once per class instance (as get_github_data() method is called twice). This is a little easier on your API calls, especially when you are running in debug mode, when transients are ignored.