1.1.13 • Published 2 years ago
ioredis-parse-cache-adapter v1.1.13
ioredis-parse-cache-adapter
parse-server cache-adapter for ioredis
Base on this file: RedisCacheAdapter.js
Installation
npm install --save ioredis-parse-cache-adapter
Usage
Redis single node or Redis sentinel configuration:
const parseServer = new ParseServer({
/// Other options
cacheAdapter: new RedisCacheAdapter({ url: process.env.REDIS_URL });
});
Redis Cluster configuration:
const parseServer = new ParseServer({
/// Other options
cacheAdapter: new RedisCacheAdapter({
cluster: {
nodes: process.env.REDIS_CLUSTER_NODES.split(','),
options: {
redisOptions: {
password: process.env.REDIS_PASSWORD,
},
}
}
});
});
You can pass any option that ioredis supports. You may have a look at their documentation.
1.1.13
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.12
2 years ago
1.1.11
2 years ago
1.1.10
2 years ago
1.1.1
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.0
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago