Update docs to explain the cache API.