only sanitizing cache if asked