Allow cache to be disabled from config