Adds caching support to your Flask application
Project description
Flask-Caching
Adds easy cache support to Flask.
Setup
The Cache Extension can either be initialized directly:
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:
cache = Cache(config={"CACHE_TYPE": "simple"})
app = Flask(__name__)
cache.init_app(app)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-Caching-1.9.0.tar.gz
(71.6 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Caching-1.9.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ef2e2af84e13c4fd32c1839c1943a42f11b6b0fbcfdd6bf46547ea5482dbfe |
|
MD5 | 3d9b009d15a56d21c0cba5ca245bc327 |
|
BLAKE2b-256 | d19f135bcf47fdb585dffcf9f918664ab9d63585aae8e722948b2abca041312f |