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

# Cache Enabled • Rust AI Agent SDK

> cache_enabled: Enable/disable caching.

# cache\_enabled

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**FastContextConfig**](../classes/FastContextConfig) class in the [**context**](../modules/context) module.

Enable/disable caching.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def cache_enabled(mut self, enabled: bool) -> Self
```

## Parameters

<ParamField query="enabled" type="bool" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>
