cache.getAll is an asynchronous function, d'oh