flask-caching
Adds caching support to your Flask application
Adds caching support to your Flask application
To install this package, run one of the following:
Adds easy cache support to Flask.
The Cache Extension can either be initialized directly:
.. code:: python
from flask import Flask
from flask_caching import Cache
app = Flask(__name__)
# For more configuration options, check out the documentation
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
Or through the factory method:
.. code:: python
cache = Cache(config={'CACHE_TYPE': 'simple'})
app = Flask(__name__)
cache.init_app(app)
Documentation <https://pythonhosted.org/Flask-Caching/>_Source Code <https://github.com/sh4nks/flask-caching>_Issues <https://github.com/sh4nks/flask-caching/issues>_original Flask-Cache Extension <https://github.com/thadeusb/flask-cache>_Summary
Adds caching support to your Flask application
Last Updated
Jul 10, 2018 at 14:22
License
BSD License
Supported Platforms