changed template config caching