rduk-cache-store-redis
v1.0.0
Published
redis cache store
Downloads
15
Readme
RDUK - Redis Cache Store Provider
this module must be used together with rduk-cache
It's an implementation of BaseCacheStoreProvider
Cache configuration
You must add the cache store section in your config file.
- Add a
config.yml
file to your app (more information here) - Add a
cacheStore
section
# config example
---
cacheStore:
name: redis
providers:
-
name: redis
type: rduk-cache-store-redis
url: redis://...
Connection pooling
You can configurate the maximum number of simultaneous connections to your redis server.
# config example
---
cacheStore:
name: redis
providers:
-
name: redis
type: rduk-cache-store-redis
url: redis://...
maxConnection: 20 # default: 10
Data serialization
By default, data are serialized as data:application/json;base64