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.0.1.tar.gz
(48.0 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Caching-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b33f473e1fea3f3cc1c05db5d29c0cc4f554a1f8f6800f562370c6ee693fac |
|
MD5 | 90a4e13d4b9850fe923d7e5bbb3479ca |
|
BLAKE2b-256 | 7770b5130169ce65fafa0a235827f0371a7e9afff13406b99d1d84d5ee95f21c |