Replace data with cache