refactor to check on disk for a cache database entry which isn't on memory