Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shreyansb/4a2c2bea03528c1148fd to your computer and use it in GitHub Desktop.
Save shreyansb/4a2c2bea03528c1148fd 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