added var to control cache