Implements a redis cluster backend for Flask-Cache(ing) as the standard redis cache cannot handle a redis cluster.
Usage
from flask import Flask
from flask_caching import Cache
app = Flask(__name__)
class Config(object):
CACHE_TYPE = 'flask_cache_redis_cluster.rediscluster'
CACHE_REDIS_HOST = 'redis'
CACHE_REDIS_PORT = 6379
CACHE_KEY_PREFIX = '<your prefix>'
# ... other options
app.config.from_object(Config)
cache = Cache(app)
Links
Release files for Flask-Cache-Redis-Cluster 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-Cache-Redis-Cluster-0.0.5.tar.gz | 3.0 kB | Details |
Release files / Flask-Cache-Redis-Cluster-0.0.5.tar.gz
| Download URL | Flask-Cache-Redis-Cluster-0.0.5.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d46c1791e1729668c5be794be492820d187b7aa8012c7ed01a92b9664b905873
|
|
BLAKE2b-256 checksum How to use checksums |
79c2fd9e0c39d0292f24d622ec5523d80c1c40494b76a0eb5d2dcf36e163ae4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |