Construct Response
Construct a HTTP response, including a standard HTTP status code and a message you create, to be served from the Akamai edge server without sending the request to your origin.
How it works
This behavior constructs an HTTP response, complete with HTTP status code and body, to serve from the edge independently of your origin. It supports all request methods except for POST.
You can create a message of up to 2000 characters for the body of the response.
By default, the edge servers evict currently cached version of the object from cache, since it isn't being served.
Don't use the Construct Response behavior with Bot Manager when you set up alternate hostname to send bot traffic to an alternate page or site. Make sure the behavior is disabled in that case.
Features and options
Field | What it does | Sub-options |
---|---|---|
Status | Enables or disables this behavior. | |
Response Body | The HTML response you want the user to receive. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
Response Code | The response code you want the user to receive. |
|
Force Cache eviction | Force eviction of the underlying object from cache. | |
Ignore for Purge requests | Ignore this construct response when purging. |
Updated almost 2 years ago