Keep redirects to a minimum

Rule from network under performance category

What is a trooper!

we have submitted your edit to the community for review! We'll review and make it live on the site in the next few hours, the internet thanks you :).

Browse another section of the knowledge base



Suggest an edit

Cancel

This rule has no content... yet.

Add content to this rule

Or just browse to view rules that have content



 

Redirects are quite usefull but developers/site owners must keep in mind that every redirects adds latency.

For this reason, the maximum accepted limit for redirects on pages are 2. This provides only a limited amount of latency and giving users a acceptable experience.

Using more redirects (either server-side or client-side) gives users a bad experience as the browser needs to follow every redirect.

For the various browsers these are the maximum limits along with their average latency added per redirect:

Chrome 49 *32bit* ↷ 55.0.2883.87 m, 21 redirects
Chrome Canary 49 *32bit* ↷ 57.0.2944.0, 21 redirects
Firefox 43 ↷ 50.0.2, 20 redirects
IE 8, 11 redirects (<a href="https://webpagetest.org">webpagetest.org</a>)
IE 9, 121 redirects (<a href="https://webpagetest.org">webpagetest.org</a>)
IE 10, 121 redirects (<a href="https://webpagetest.org">webpagetest.org</a>)
IE 11, 110 redirects
Opera 28, 21 redirects
Opera 36, 21 redirects
Safari 5.1.7, 16 redirects

Source @Dennis - In Chrome, how many redirects are “too many”?

How do I fix this ?

Look at what would be causing the page to redirect more than twice. Updating this logic to directly redirect to the required page solves the issue. While also giving you control to redirect as required.

Resources

Browse another section of the knowledge base



Signup icon
Ready to see how well your site scores?

Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.

Sign up to get started