By James
Hi all 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… Actual 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…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi ryan… thanks for the suggestion
I edited the /etc/resolv.conf file and removed level3 dns… i now show… nameserver 8.8.8.8 nameserver 8.8.4.4 Saved and exited… do i have to restart networking or are the results live as soon as i save?
pinging shows it working ping -c 1 google.com
but unfortunately the speedtest still shows initial DNS lookup taking nearly 310ms ~ 3 seconds…which is more than it takes to load the rest of the site =(
Really confused… is there anything else i can investigate to try to resolve this issue?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.