Skip to content

WHASQ/rduk-cache-store-redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%