Mobile app version of vmapp.org
Login or Join
Lengel546

: 301 redirect latency I want my website to work either way for both www.mysite.com and mysite.com, so I setup an A record for the root domain mysite.com and then created a CNAME record which

@Lengel546

Posted in: #301Redirect #Dns #Latency

I want my website to work either way for both mysite.com and mysite.com, so I setup an A record for the root domain mysite.com and then created a CNAME record which points mysite.com to the host record mysite.com.

Now if I type mysite.com, it's actually resulting in a 301 redirect to mysite.com. But every time the redirection is causing about 3 seconds latency (see screenshot).



Have I made any mistake in configuring my domain?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lengel546

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

I'm doing that also in my site, and that time is not the redirect time - a redirection (as it is called) takes almost no time.

That line represents the time between the HTTP call and the server response, which involves the DNS resolution process, the server handling the call, and receiving the HTTP response.

You can see it in more detail in this picture:



(Waiting refers to all the time the server spends performing operations until it responds)

Most browsers also cache 301 calls, which makes this process almost immediate.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme