Skip to content
Performance & Accessibility

Redirect Chains and Performance, Done Properly

Sequences of redirects, such as http to https to www to a trailing slash, that a browser must follow before it reaches the final page.

Marcus Adeyemi Technical Director 2 min read 23 views
Redirect Chains and Performance, Done Properly

What is at stake

Each redirect adds at least one network round trip before the page can start loading, which is especially costly on mobile networks.

The playbook

  1. Redirect directly to the final URL in one step
  2. Update internal links to canonical URLs
  3. Enable HSTS once HTTPS is stable
  4. Check ad and email landing URLs for chains
  5. Audit redirects after migrations

Where it goes wrong

Avoid:

  • Chains created by stacking old redirect rules
  • Linking internally to URLs that redirect
  • Redirecting mobile users through extra hops
  • Tracking redirects that add several steps
What to do and what to avoid with redirect chains and performance, side by side
Good practice against the usual mistakes, from the sources listed below.

The numbers behind it

Published figures for Redirect Chains and Performance
MeasureFigure
Costeach redirect adds a round trip before content loads
Lighthouse auditAvoid multiple page redirects
HSTSlets browsers skip the http to https redirect after the first visit
Internal linksshould point directly to the final URL

Getting outside help

When to hand it over: Bring in help after a site migration, or when audits find long redirect chains on key landing pages.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Performance & Accessibility work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

Marcus Adeyemi

Builds and maintains the web work. Writes about front-end architecture, performance, accessibility and the unglamorous parts of keeping a site alive.

Keep reading

More in Performance & Accessibility