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.1.0.tar.gz
(47.6 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Caching-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 539be62653a719a61f51d2f7f68a9e8476dcef58036b3a75be6e354efbf31328 |
|
MD5 | 234fbc95e49bd9ec71506a46631fa167 |
|
BLAKE2b-256 | 8ef5a9c0a141251351d29584ce47dedcf162ffd74da30be59bc2f1b20b8aa494 |