Skip to content

Instantly share code, notes, and snippets.

@drawcode
Forked from sleekslush/gist:f0c727f32c4c2764c00a
Created August 28, 2014 04:14
Show Gist options
  • Save drawcode/850ed4b4249f73e70bc4 to your computer and use it in GitHub Desktop.
Save drawcode/850ed4b4249f73e70bc4 to your computer and use it in GitHub Desktop.
from jinja2.environment import create_cache
# blah blah blah
app.jinja_env.cache = create_cache(1000)
# blah blah blah
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment