MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Initial connection time very high for Mumbai, India

WebPagetest Forums

Full Version: Initial connection time very high for Mumbai, India
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My website is hosted in LA and I am using BunnyCDN to deliver static contents of the website.
I tested the website from many locations and found that Initial Connection is very high for Mumbai (2-15 seconds). For all other places in the world, the initial connection time is <300 ms. So, I do not think there is any issue with my server.
What could be the problem with testing from Mumbai, India?

URL: https://www.discoverbits.in/
Loaded By: https://static.discoverbits.in/qa-conten....js?1.8.5:
Host: http://www.discoverbits.in
IP: 23.234.209.227
Error/Status Code: 200
Priority: HIGHEST
Protocol: HTTP/2
HTTP/2 Stream: 1, weight 256, depends on 0, EXCLUSIVE
Request ID: 81DC59C15B68924A83B8E2EE1E15DA09
Client Port: 33264
Discovered: 0.005 s
Request Start: 2.331 s
DNS Lookup: 30 ms
Initial Connection: 1272 ms
SSL Negotiation: 1022 ms
Time to First Byte: 291 ms
Content Download: 35 ms
Bytes In (downloaded): 6.4 KB
Uncompressed Size: 49.9 KB
Bytes Out (uploaded): 1.7 KB
Do you have a link to the actual test? If there was a bunch of other network activity going on at the time it is possible that the connection setup was stuck behind a bunch of other in-flight data.
Ouch. No contention since it was the first request. Not sure what happened at the time since it looks better now: https://www.webpagetest.org/result/20090...view_step1

~500ms will be as fast as it can get without a CDN since the RTT's from India to the US is ~240ms.

It was the www domain that was slow to connect, not the static so it is going all the way to your origin.
I have a CNAME record for www domain.
So, should I create an A record for www domain?
No, the DNS lookup time was not slow, just the actual connect. A record or CNAME will still result in the same IP address that it tries to connect to.
Reference URL's