def stream_template(template_name, **context):
app.update_template_context(context)<EOL>t = app.jinja_env.get_template(template_name)<EOL>rv = t.stream(context)<EOL>rv.enable_buffering(<NUM_LIT:5>)<EOL>return rv<EOL>
allow streaming of jinja templates for reduced page load start latency (e.g. for large lists)