Integrated caching with random walks