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.8.0.tar.gz
(69.3 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.8.0.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.8.0.tar.gz
- Upload date:
- Size: 69.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3d0bd13c448c1640334131ed4163a12aff7df2155e73860f07fc9e5e75de7126
|
|
MD5 |
f9b69f3256a969b7ff81c9c5fed9e757
|
|
BLAKE2b-256 |
2751d6c698269cf8d0988c4a1f3db51a218235fcb2144c2002c86be9dde77e8a
|
File details
Details for the file Flask_Caching-1.8.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.8.0-py2.py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
54b6140bb7b9f3e63d009ff08b03bacd84eefb1af1d30af06b4a6bc3c16fa3b2
|
|
MD5 |
2c54b8127297f02aba69f9d3f923af85
|
|
BLAKE2b-256 |
043f7111c71d19db6f34d403c7614e3898435c9ceedff8252f886e7028c55d5e
|