Skip to main content

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 redirect following. This helps speed up content loading for the user. In addition, you can disable redirect following.

Enable redirect following

  1. In the control panel, in the top menu, click Products and select CDN.

  2. In the CDN Resources section, open the CDN resource page → General.

  3. In the Redirect settings block, select the Follow redirects.

  4. Click Apply. While settings are being applied, the CDN resource will be in the PROCESSING status. You cannot apply other settings during this time. Settings will be applied once the CDN resource transitions to the ACTIVE.

Disable redirect following

  1. In the control panel, in the top menu, click Products and select CDN.

  2. In the CDN Resources section, open the CDN resource page → General.

  3. In the Redirect settings block, clear the Follow redirects.

  4. Click Apply. While settings are being applied, the CDN resource will be in the PROCESSING status. You cannot apply other settings during this time. Settings will be applied once the CDN resource transitions to the ACTIVE.