title: Disable Template Cache Jinja2
body: <p>I'm trying to disable Jinja2's template cache. I've done some looking around, and I've found that there's a <code>cache_size</code> parameter for jinja's environment. I'm using the following: </p>
  
  <pre><code>app.jinja_env = jinja2.Environment(
      cache_size = 0, 
      loader = jinja2.FunctionLoader(utils.load_template)
  )
  </code></pre>
  
  <p>I'm using a custom loader to dynamically load templates based on the domain (the app serves multiple domains). Unfortunately, using this, it looks like it overrides Jinja's default filters and builtin functions - using </p>
  
  <pre><code>@app.route(...)
  def page():
      render_template('template') # from flask import render_template
  </code></pre>
  
  <p>I'm getting a <code>UndefinedError: 'url_for' is undefined</code> error. What's the proper way of doing this?</p>