flask cache

This commit is contained in:
Yax
2017-07-08 18:53:49 +02:00
parent a22ef97970
commit 19655b24df
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
from flask import Flask
from flask.ext.cache import Cache
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})