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.7.0.tar.gz
(66.0 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Caching-1.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a70d02e7c5be308fa2fc7ef8ba7beb6c3e60aaf2929806dd8423206ed79aa1 |
|
MD5 | ccc639faf0e0d2df8594d1976bbdf015 |
|
BLAKE2b-256 | ea6354830e532e4fc507360ff88ded0f78e5ca227e2b6ff9b1ae23e4029ba1a2 |