Skip to main content

Manage redirect following

When the CDN server receives a redirect response code from the origin (301, 302, 303, 307, 308), it caches this response and forwards it to the browser. The browser follows the redirect link to retrieve the content itself.

To have the CDN server follow redirect links, cache content, and serve it to the user, you can enable following redirects. This speeds up content loading for the user. You can disable following redirects at any time.

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 tab.

  3. In the Redirect configuration block, select the Follow redirects checkbox.

  4. Click Apply. While the settings are being applied, the CDN resource will be in the PROCESSING status. Applying other settings is unavailable during this time. The settings will be applied when the CDN resource changes to the ACTIVE status.

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 tab.

  3. In the Redirect configuration block, clear the Follow redirects checkbox.

  4. Click Apply. While the settings are being applied, the CDN resource will be in the PROCESSING status. Applying other settings is unavailable during this time. The settings will be applied when the CDN resource changes to the ACTIVE status.