disabled template caching when in debug mode