# geni app clear-cache (/cli/resource/app/clear-cache)



```sh
geni app clear-cache [id] [flags]
```

Clears every cached handler response for the live app, forcing the next call to re-execute. Reads through `useHandler` are cached server-side for 15 minutes; republishing clears the cache automatically, so reach for this only when you want to flush it without a republish.

## Synopsis [#synopsis]

```sh
geni app clear-cache
geni app clear-cache wf_01HX
```

| Arg / Flag     | Notes                                      |
| -------------- | ------------------------------------------ |
| `[id]`         | App id. Omit to use the marker in `--dir`. |
| `--dir <path>` | Resource directory. Defaults to cwd.       |
