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.10.0.tar.gz
(74.7 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.10.0.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.10.0.tar.gz
- Upload date:
- Size: 74.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f826790abe3b7797d42b0ad0356328d3c68651a3acb22a016728734cf43c91 |
|
MD5 | fd79cc239551a5ade47bbc1b3d9dd227 |
|
BLAKE2b-256 | 61de0a9b226cc4e810fbea75dc8e3ad83d679e9aa97d8ca77709e13af58b9830 |
Provenance
File details
Details for the file Flask_Caching-1.10.0-py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.10.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ddf54b2d160267b5fd70400359fc79dba5a87aa6e53abde89e627eb0fd4540 |
|
MD5 | d613b47a22e3607a5e9e0477c7162bd5 |
|
BLAKE2b-256 | 72eaca3ece5c39f1d90bf60cfa25c1768e91852ef41afe624fc10545c87807b3 |