Dynamic Content Delivery Network (DCDN) accelerates the delivery of dynamic content by using an optimal route selected by an intelligent routing mechanism. This topic describes how to configure back-to-origin requests to retrieve dynamic content, including the protocol used to retrieve dynamic content and whether to enable load balancing. These configurations are independent of each other. You can perform configurations based on your business requirements.
Configure the origin protocol policy to retrieve dynamic content
The protocol used to retrieve dynamic content must be the same as that used by the client. If different protocols are used, you can configure the protocol used to retrieve dynamic content. If you do not configure the protocol, the protocol of the origin server port is used to retrieve dynamic content by default.
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, find the domain name whose acceleration region you want to change and click Configure.
- In the left-side navigation pane of the domain name, click Acceleration Rules.
Turn on Dynamic Acceleration.
Click the Dynamic Content Retrieval Settings tab.
Click Modify next to Dynamic Origin Protocol Policy.
In the Dynamic Origin Protocol Policy dialog box, set Redirect Type.
Parameter
Description
Match Client
When the client uses HTTP or HTTPS to request resources, points of presence (POPs) communicate with the origin server over the same protocol that is used by the client.
Match Origin Server
When the client uses HTTP or HTTPS to request resources, POPs communicate with the origin server over the same protocol that is used by the origin server port.
HTTP
POPs communicate with the origin server over HTTP.
HTTPS
POPs communicate with the origin server over HTTPS.
Click OK.
Enable load balancing
Requests are redirected to origin servers based on the performance of origin servers. If you want requests to be redirected based on the weights of origin servers, you need to enable load balancing. Then, requests are redirected to origin servers based on the specified weights to retrieve dynamic content.
Performance-based redirection
Requests are redirected to the origin server with the best performance.
Weight-based redirection
Requests are redirected to origin servers based on the specified weights. To modify the weight of an origin server, see Configure an origin server.
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, find the domain name whose acceleration region you want to change and click Configure.
- In the left-side navigation pane of the domain name, click Acceleration Rules.
Turn on Dynamic Acceleration.
Click the Dynamic Content Retrieval Settings tab.
Turn on Load Balancing to enable Load Balancing.