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.3.tar.gz
(47.9 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.3.3.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.3.3.tar.gz
- Upload date:
- Size: 47.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5af1759e5ae3424abec918537f0201a1476ae9442452bcb5c8787468a9de0f5a |
|
MD5 | 1b50b55f73b7045e8fe058384cee069a |
|
BLAKE2b-256 | 08f7755a78c975866205e1bfd459cb7901cea0623499600e120c326f69a0b25f |
Provenance
File details
Details for the file Flask_Caching-1.3.3-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.3.3-py2.py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21236d2b4567deb9fc95e474a604602097189e834629c24f4d62937abc963636 |
|
MD5 | 7ec452cf495ce99bbef68c75e9a4db4d |
|
BLAKE2b-256 | 88f17bbd68a4d79eb53c33863a17926f14268749b897c8a77ab589f2e9117d47 |