# Setting: `cache_driver`

- **Constant:** `ConfigInterface::CACHE_DRIVER`
- **Category:** `other`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `file`

## Description

Cache driver to use (file, redis) (redis is recommended for production) but redis can be unstable in some cases

## Allowed options

- `file`
- `redis`

## Change via CLI

```bash
featherpanel saas getsetting cache_driver
featherpanel saas setsetting cache_driver "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "cache_driver": "<value>" }
```
