Learn how to configure Origin Response Timeout to control how long the CDN waits for your origin to respond.
Origin Response Timeout defines the maximum time the CDN waits for an HTTP(S) response from your origin server. If the origin does not respond within the configured duration, the CDN returns a 504 Gateway Timeout.
Adjusting this timeout helps maintain predictable performance and prevents long wait times caused by slow origin responses.
You can manage Origin Response Timeout using the Medianova Control Panel or API.
In the Medianova Control Panel, go to CDN Resources, select your resource, and navigate to Origin Settings.
Follow the steps below to set the timeout duration.
The CDN waits for the origin to respond for the configured duration.
If the timeout is reached, the CDN returns 504 Gateway Timeout to the client.
Lower values improve failover speed; higher values allow slow origins more time to respond.
5–30 seconds: Fast origins or latency-sensitive applications
30–120 seconds: Moderate response times or variable workloads
120–300 seconds: Heavy processing at the origin (reports, large queries, image generation)
Issue: Clients receive 504 responses. Cause: Origin cannot respond within the configured timeout. Fix: Increase the timeout value or optimize origin performance.
Issue: Requests feel slow before failing. Cause: Timeout value is set too high. Fix: Reduce the timeout to a more suitable duration.
