Making sure cache transition is smooth.