Remote caching for @nrwl/nx using Redis
npm install nx-remotecache-redisThis is a task runner for @nrwl/nx https://nx.dev/react which uses a redis database as a remote caching storage. Read more about the benefits in the nx documentations [https://nx.dev/using-nx/caching#computation-caching]
This package was built with nx-remotecache-custom 🔥
```
npm install -D nx-remotecache-redis
| Parameter | Description | Environment Variable | nx.json |
| ------------ | ----------------------------------------------------------------------------------- | ----------------------- | -------- |
| Redis URL | The url to connect to redis for example: redis:// | NX_CACHE_REDIS_URL | url |NX_CACHE_REDIS_EXPIRE
| Redis Expire | Expire time in seconds to automaticaly delete keys | | expire |
`json``
{
"tasksRunnerOptions": {
"default": {
"runner": "nx-remotecache-redis",
"options": {
// All of the redis specific options can also be inserted via environment variables!
"url": "redis://127.0.0.1:6379",
"cacheableOperations": ["build", "test", "lint", "e2e"]
}
}
}
}