# CustomCacheFactory

Defined in: [packages/cache/src/cache.ts:315](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/cache/src/cache.ts#L315)

Factory signature of every cache built from a caller-supplied eviction policy.

> **CustomCacheFactory**<`K`, `V`>(`options`): [`Cache`](/reference/knotkit/cache/interfaces/cache/)<`K`, `V`>

Defined in: [packages/cache/src/cache.ts:316](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/cache/src/cache.ts#L316)

Factory signature of every cache built from a caller-supplied eviction policy.

## Type Parameters

### K

`K`

### V

`V`

## Parameters

### options

[`CustomCacheOptions`](/reference/knotkit/cache/interfaces/customcacheoptions/)<`K`, `V`>

## Returns

[`Cache`](/reference/knotkit/cache/interfaces/cache/)<`K`, `V`>
