Initial DNS request to website Ridiculously Slow ~ 3-5 seconds
Im experiencing really slow initial response to DNS/website requests.
Just finished up migrating a WP site on a Debianx32 LEMP stack droplet and everything is working ‘fine’ except for when i do a speed test.
The initial GET request to the DNS takes on average 3-5 seconds to complete.
The overall page loadtime becomes 3 seconds longer than it should be..
Page load time: 5.24s
Total page size: 1.12MB
Total number of requests: 60
Page load time should ideally be ~ 2 seconds at the minimum..
atleast it was on a previous shared hosting account..
i expected/hoped that ssd and closer datacenter to be at or below a shared host.
Any ideas on how i can tweek/troubleshoot this?
Ive tried with and without cloudflare CDN to see if i can speed it up but it makes no difference.
the dns are current set to google and level3 as a backup
Why the severe latency/slow reponse?
Thanks for any suggestions..
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.