Redirect Handle From Origin
The Redirect Handle From Origin feature provides advanced control over how redirects are managed between the CDN and your origin server, tailored specifically for dynamic content delivery. Redirects for dynamic content often depend on real-time variables, such as user sessions, geolocation, or API responses. This feature ensures that such redirects are handled efficiently, maintaining low latency and a seamless user experience.
Key Features
3xx Status Code Configuration Customize and manage HTTP status codes in the 3xx range (e.g., 301, 302, 307) to optimize redirect behavior for dynamic content. Fine-tune how redirect rules interact with personalized or session-based requests.
Dynamic Header Management Define which request headers are passed or excluded during the redirect process, ensuring consistency for user-specific or API-driven workflows.
Real-Time Header Customization Add or modify headers dynamically during the redirection process to align with real-time conditions or backend logic.
Key Benefits
Optimized for Dynamic Content: Handles session-based or real-time redirects without introducing latency.
Seamless User Experience: Ensures that personalized content routing occurs smoothly.
Improved Efficiency: Reduces unnecessary origin server requests for redirects triggered by dynamic conditions.
How to Enable Redirect Handle From Origin
Click on the CDN Resources section in the left-hand menu of the Cloud panel.
Select the relevant resource.
Click on the Origin Settings tab.
Enable this setting.
Fill in the required fields.
Handle Origin Redirection Error: Select which HTTP status codes (301, 302, 303, 307, 308) to handle for origin redirections. You can choose one or multiple options depending on the behavior you want to implement.
Request Header Key: Specify the name of the request header you want to manage during the redirection process.
Request Header Value: Provide the value for the corresponding request header key.
Add Header Key: Specify the name of the custom header to be appended during the redirection.
Add Header Value: Provide the value for the custom header key to ensure it is correctly appended.
Click the Add button.
Click the Submit button.
Last updated