since the initial retrieval is so slow even with a relatively modest 250 build history, store a cache file so we don't have to retrieve it all again if we restart the process
fixes for top-level sinatra app