Turn on template caching.