template caching configurable