condition template caching on debug=off