Add a cache sample.