swapping out cache