# Type Alias CacheControl

Cache control directive for Anthropic prompt caching. Only applicable to Anthropic Claude models. When set, marks the content block as a cache breakpoint.

type CacheControl = {
ttl?: "5m" | "1h";
type: "ephemeral";
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/cache-control.d.ts:5

##### Index

### Properties

ttl?
type

## Properties

### `Optional` ttl

ttl?: "5m" | "1h"

Time-to-live for the cache entry. Default is "5m" (5 minutes). "1h" (1 hour) is supported on select models (e.g. Claude Opus 4.5, Haiku 4.5, Sonnet 4.5).

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/cache-control.d.ts:11

### type

type: "ephemeral"

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/cache-control.d.ts:6