Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.2 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.2 KB

RDUK - Redis Cache Store Provider

Build Status

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.

  1. Add a config.yml file to your app (more information here)
  2. 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