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.2.tar.gz
(66.5 kB
view details)
Built Distribution
File details
Details for the file Flask-Caching-1.7.2.tar.gz
.
File metadata
- Download URL: Flask-Caching-1.7.2.tar.gz
- Upload date:
- Size: 66.5 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 | 52e236cbc836c41a5ced0c0a67b48ad180c9e2b5cb69e881089bba766db5569e |
|
MD5 | e74161189db954d1411c416b85afca31 |
|
BLAKE2b-256 | e8858ccb4ed2aca8490927b4aa00b877f72fb9b3b687c04d2922c93a632fc911 |
Provenance
File details
Details for the file Flask_Caching-1.7.2-py2.py3-none-any.whl
.
File metadata
- Download URL: Flask_Caching-1.7.2-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 | b0daabd5249bebfbae3da4c22987bac22047fc8b18ea2716c4fc63d57d218946 |
|
MD5 | b22bcd2c4234a8d1832b944bc570679e |
|
BLAKE2b-256 | bd4ec701bdcd566f26187398cf058ad2ca14c8b2f50b17a17f9076794ae2f8db |