> ## Documentation Index
> Fetch the complete documentation index at: https://docs.helloleo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Cache

> A key-value store that keeps answers from slow systems ready

Your app gets a key-value store. Leo uses it as a cache: when a read from a connected system is slow, your app keeps the answer for a while and serves it again without asking the system each time.

> [!NOTE]
>
> Available on **Leo Business** and above.

## Preview and Published

Like the [database](https://docs.helloleo.dev/features/database.md), the cache is separate for **Preview** and **Published**.

## See what is cached

Open the **Cache** section of your project. It lists each cached value, when it was refreshed and when it expires. Use the switch at the top to pick **Preview** or **Published**.

## Refresh a value

When you need fresh data now, drop the cached value and the next load fetches it again:

* **Purge** on a row drops that one value.
* **Purge all** drops every cached value.

Purging works on **Published**. In Preview the list is view-only.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.