enable method cache [ci skip]