---
updatedAt: 2025-06-03T20:37:36.000Z
agentTools:
  projectIndex: https://docs.ol-hub.com/llms.txt
---

# ol set cache

Customize the operation cache

The **ol set cache** command configures an asset cache.

## Syntax

ol set cache \[OPTIONS]

## Options

**--asset**

The asset name

**--cache-key**

The cache keys

Example:

```
--cache-key "InputField.SubField" "true"
```

**--cacheTTL**

The cache time to live

Example:

```
--cacheTTL 300
```