control cache and modi tmpl