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.3.1.tar.gz
(46.9 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Caching-1.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 452248e3a30eb925941f57055bf97b338b9641da11fa988611a5a22f50130394 |
|
MD5 | 273e6a426aaf333d66db347c0e644485 |
|
BLAKE2b-256 | b774ebc79335879db034203f7e222599562c38ffca35ccddf4c5779dc20f080d |