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)
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size Flask_Caching_IceFruit-0.0.3-py2.py3-none-any.whl (23.0 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size Flask-Caching-IceFruit-0.0.3.tar.gz (25.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for Flask_Caching_IceFruit-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9632c9ded6a001a384fbd62ca55dd0635d72a0c847c1e3654ac228ad0c2b07d4 |
|
MD5 | ef8cb854ae0b10ac6be6de85dc770221 |
|
BLAKE2-256 | f4a9063504aa9af996277ede17f40d757c103759f69381394721dd9e52b93285 |
Close
Hashes for Flask-Caching-IceFruit-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 487a4270810ff5f3bb2d0c934ee0eee4b6d29bb843bdc7b70be65872583535a9 |
|
MD5 | b85e34844b4515deb923e4d7017b24ff |
|
BLAKE2-256 | 3ec3dc2d852d9b5e95fb858ca6b1efb9dd1aa9d012eee90414738bea631c762f |