Skip to main content

CacheControlInput

HTTP cache control settings for media files.

Controls how browsers and CDNs cache the media content. Default settings provide optimal performance with public caching for 7 days.

input CacheControlInput {
type: CacheControlType
maxAge: Int
}

Fields

CacheControlInput.type ● CacheControlType enum

Cache visibility and storage policy.

Determines whether the content can be cached by public proxies or only private caches. Defaults to 'public' for optimal CDN performance.

CacheControlInput.maxAge ● Int scalar

Maximum cache duration in seconds.

Specifies how long browsers and CDNs should cache the media file before checking for updates. Defaults to 604800 seconds (7 days).

Member Of

UploadFileInput input