# CacheConfig

> This document is the Markdown version of [valibot.dev/api/CacheConfig/](https://valibot.dev/api/CacheConfig/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Cache config interface.

## Definition

- `CacheConfig`
  - `maxSize?` `number`
  - `maxAge?` `number`
