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.2.tar.gz
(47.0 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Caching-1.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefc637f5d917da7f87437b018e8c7fc7b05467f0b5153441aa336101e73cd2e |
|
MD5 | 1b588f39e1347b57d42f03eadc13f5d1 |
|
BLAKE2b-256 | eec80646515aef262fac9b4e39cad5d8d5a82a2ac4ea953aff86a9163aa3ba16 |