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.1.tar.gz
(66.1 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.7.1.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.7.1.tar.gz
- Upload date:
- Size: 66.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc25b0800fb0ae4e3fcaaf12203263c564f41197593283669b81216089803a1b |
|
MD5 | 89206230f7579a7aed247be2f784e940 |
|
BLAKE2b-256 | 4642bacf50d4b253941e57cfd5b764ac56b3ffa3addfd19758cb4ebad328ab0f |
Provenance
File details
Details for the file Flask_Caching-1.7.1-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.7.1-py2.py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21c3e98badfea57c9e91e3485ec0b0c029261ae4badbac876a65a834db6c368 |
|
MD5 | 99f3d1d336e05f6d4b65bf8ac167d6a5 |
|
BLAKE2b-256 | 9d0c20dd6bf0ec56e0b324d578e77e34a13ffaac8988c6d13e70543974bf5c58 |