diff options
author | mjfernez <mjfernez@gmail.com> | 2021-10-10 23:05:07 -0400 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2021-10-10 23:05:07 -0400 |
commit | f7668243b7a55d1f69d508b3baaf891055715f63 (patch) | |
tree | 98eb775a32b05e0125147cf5230efd3b98ed5f80 /server.py | |
parent | 02a37ad308fbcc27a04787c84a76de7c2936a6d5 (diff) | |
download | ezcms-f7668243b7a55d1f69d508b3baaf891055715f63.tar.gz |
Improve README. Expanded cache config
This commit removes a lot of unnecessary rambling from the README
and also makes it easier to use more complex cache options if you want
to
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -9,12 +9,7 @@ from flask_caching import Cache app = Flask(__name__) compress = Compress() -cache = Cache( - config={ - 'CACHE_TYPE': siteconfig.CACHE_TYPE, - 'CACHE_DEFAULT_TIMEOUT': siteconfig.CACHE_DEFAULT_TIMEOUT, - } -) +cache = Cache(config=siteconfig.cache_config) from views import * |