Add ability to disable template caching