Manage redirect following
When a CDN server receives a response from the origin with a redirect code (301, 302, 303, 307, 308), it caches this response and passes it to the browser. The browser then follows the redirect link to fetch the content.
To have the CDN server follow a redirect link, cache the content, and deliver it to the user, you can enable following redirects. This allows you to speed up content loading for the user. You can disable following redirects.
Enable redirect following
-
In the control panel, in the top menu, click Products and select CDN.
-
In the CDN Resources section, open the CDN resource page → General.
-
In the Redirect settings block, select the Follow redirects.
-
Click Apply. While settings are being applied, the CDN resource will be in the
PROCESSINGstatus. You cannot apply other settings during this time. Settings will be applied once the CDN resource transitions to theACTIVE.
Disable redirect following
-
In the control panel, in the top menu, click Products and select CDN.
-
In the CDN Resources section, open the CDN resource page → General.
-
In the Redirect settings block, clear the Follow redirects.
-
Click Apply. While settings are being applied, the CDN resource will be in the
PROCESSINGstatus. You cannot apply other settings during this time. Settings will be applied once the CDN resource transitions to theACTIVE.