Add cache to index