Change cache settings