'Called if cache hit'

def get_from_cache(self, image_id):

    with self.cache.open_for_read(image_id) as cache_file:
        chunks = utils.chunkiter(cache_file)
        for chunk in chunks:
            (yield chunk)
