Avoid multiple page redirects

The Opportunities section of the Lighthouse report lists resources that are being redirected:

Avoid multiple page redirects.

How redirects slow down performance

Redirects introduce additional delays before the page can load.

When a browser requests a resource that has been redirected, the server usually returns an HTTP response like this:

HTTP/1.1 301 Moved Permanently
Location: /path/to/new/location

The browser must then make another HTTP request at the new location in order to retrieve the resource. This additional trip across the network can delay the loading of the resource by hundreds of milliseconds.

How to eliminate redirects

Eliminate the redirects by upading the links to these resources. Update the links to these resources. The links should point to the current locations of the resources. It's especially important to avoid redirects in resources required for your Critical Rendering Path.

If you're using redirects to divert mobile users to the mobile version of your page, consider re-designing your site to use Responsive Design.

More information

Last updated: Improve article