# `struo cache serve`

Serve an authenticated HTTP cache with bounded disk and memory usage.

## Synopsis

```text
struo cache serve [OPTIONS]
```

## Options

| Flag | Value | Default | Description |
| --- | --- | --- | --- |
| `--listen` | `<LISTEN>` | `127.0.0.1:8080` | Address to bind. Use a TLS reverse proxy for public access. |
| `--data-dir` | `<DATA_DIR>` |  | Directory exclusively owned by this server. |
| `--token-file` | `<TOKEN_FILE>` |  | JSON credential file containing a nonempty `token` string. |
| `--max-size` | `<MAX_SIZE>` | `20GiB` | Maximum object and staged-upload storage, such as `20GiB`. |
