Contains features that manipulate the response sent to the client.

Hierarchy

  • Response

Properties

allow_prefetching_uncached_content?: boolean

Determines whether prefetching will be allowed for cache misses.

compress_content_types?: string[]

Defines the set of media types (aka content type) that are eligible for edge server compression.

optimize_images?: boolean

Determines whether Image Optimizer will be allowed to process or generate an image for eligible requests.

retry_from_hostname?: string

Reserved for future use.

set_done?: boolean

Determines whether to prevent the request from being proxied from our network to an origin server.

set_response_body?: string

A custom response body defined as a base-64 encoded string. Our servers decode this string before providing the response to the client.

set_status_code?: string | HttpStatusCode

Generated using TypeDoc