1.0.10 • Published 1 year ago

@chandre/egg-redis-cache v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@chandre/egg-redis-cache

Install

$ npm i @chandre/egg-redis-cache --save

Usage

// {app_root}/config/plugin.js
exports.redisCache = {
  enable: true,
  package: '@chandre/egg-redis-cache',
};

Configuration

// {app_root}/config/config.default.js
exports.redisCache = {
  app: true,
  agent: false,
  client: {
    prefix: 'cache',
    host: '127.0.0.1',
    port: 6379,
    password: '',
    db: 0
  }
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago