Setting an appropriate timeout period for HTTP requests to the origin server enhances response efficiency. If the timeout period is too short, network fluctuations can lead to frequent fetch failures from the origin. If it is too long, it may tie up too many connections when the origin is overloaded or unresponsive, disrupting the handling of regular requests.
What is HTTP request time to origin
The HTTP request time to origin measures the duration of Layer 7 HTTP requests when ESA point of presence (POP) forwards these requests to the origin server. This metric does not include the time taken for establishing a Layer 4 TCP connection back to the origin.
Before you begin
ESA supports setting a maximum timeout of 300 seconds for the entire connection, including paths within the ESA POP and between the ESA POP and the origin.
The default timeout setting is 30 seconds. We recommend a timeout period no longer than 60 seconds.
Setup
In the ESA console, choose Websites and click the name of the website you want to manage.
In the left-side navigation pane, choose .
Click Create Rule, and fill in the Rule Name.
In the If Requests Match... area, specify the conditions for matching incoming requests. For more information about how to configure a rule, see Rules.
In the Timeout for HTTP Requests to Origin section, click Configure. Enter the timeout period.