# IRedisCacheOptions interface · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.irediscacheoptions/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Options accepted by [RedisCache.init()](https://imqueue.org/api/rpc/latest/rpc.rediscache.init/).

**Signature:**

```typescript
export interface IRedisCacheOptions extends Partial<IMQOptions> 
```
**Extends:** Partial<IMQOptions>

## Remarks

This inherits the queue option shape, but the adapter only honours `host`, `port`, `username`, `password`, `prefix`, `logger` and `conn`. All other inherited queue options are accepted by the type and silently ignored.

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [conn?](https://imqueue.org/api/rpc/latest/rpc.irediscacheoptions.conn/) |  | IRedisClient | _(Optional)_ An existing Redis client to reuse — a running service's queue writer, for example — instead of opening a new connection. |

