Add a cache context manager