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
Built Distribution
Close
Hashes for Flask-Caching-IceFruit-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d595a825d77dcd917385518ea6c203c73b4f5c4db45df6d04ebe999adede2fdb |
|
MD5 | 4594892f262756bfd0ce8db20e5ef3ca |
|
BLAKE2b-256 | 5d24bd9b13f15f403d963492502358278df18f6ebd2fca90d1790db706df886f |
Close
Hashes for Flask_Caching_IceFruit-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ce0f6014a02d43303ee1e5a45cfdf6ba849639aff0209056d8ec9c4da21925 |
|
MD5 | 038e1a3c56442abf9bb8a0f9ae835e72 |
|
BLAKE2b-256 | 4b6abab21d3ac9a0c08aeb62bd6bc2b9b638ed94e7931fca063874f146f328f3 |