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 points www.mysite.com to the host record mysite.com.Now if I type www.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?
301 redirect latency
dns;301 redirect;latency