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.9.0.tar.gz
(71.6 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.9.0.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.9.0.tar.gz
- Upload date:
- Size: 71.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0356ad868b1d8ec2d0e675a6fe891c41303128f8904d5d79e180d8b3f952aff |
|
MD5 | 49eea208256c63947ecd33de273afac3 |
|
BLAKE2b-256 | 41c9472486c62f22a1dad273a132b9484189e1a22eb8358883249e4955f8e464 |
Provenance
File details
Details for the file Flask_Caching-1.9.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.9.0-py2.py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ef2e2af84e13c4fd32c1839c1943a42f11b6b0fbcfdd6bf46547ea5482dbfe |
|
MD5 | 3d9b009d15a56d21c0cba5ca245bc327 |
|
BLAKE2b-256 | d19f135bcf47fdb585dffcf9f918664ab9d63585aae8e722948b2abca041312f |