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.5.0.tar.gz
(64.8 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.5.0.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.5.0.tar.gz
- Upload date:
- Size: 64.8 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/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7e4896ec212365a8ed53cb8658a2e2f2b4f4d143101360214fcd96fa632f18 |
|
MD5 | c5c18f09cfce9673924aa2bf71898a97 |
|
BLAKE2b-256 | dc1e32b13729176f27267304cffdc03f8054836c814157547ff6b0b7a826c92b |
Provenance
File details
Details for the file Flask_Caching-1.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 29.5 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/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c592ca7607545dc349babc5f8bdd7ca0c3aba467ce44a35f35b80aa23bf3b5f |
|
MD5 | 4ceb44441f50367897d9435d8be91bba |
|
BLAKE2b-256 | f0d3c2698978c8a419ef44a0898304dcf4f4974113ce5f6ee19997e0fcd3e94a |