[config] small change cache method