Erasing cache