Mobile app version of vmapp.org
Login or Join
Frith620

: Why does DNS lookup take more than 6 seconds? I am running a photography website for my girlfriend, and currently trying to improve the site's loading speed. It is a photography website, and

@Frith620

Posted in: #Dns #DnsLookup #GoogleChrome #PageSpeed

I am running a photography website for my girlfriend, and currently trying to improve the site's loading speed. It is a photography website, and thus many images are loaded, which makes it a little slow. This is expected and accepted to some extent.

However, when I looked at the waterfall diagram in Chrome, which shows loading time of different resources, I noticed that "DNS Lookup" of some images takes up to 6 seconds. This is weird, as the images are hosted on my own page, and other content (css, html) has already been loaded from the same domain at that point, so no additional DNS lookup should be necessary. What is happening here? Is it really a DNS lookup? If so, why does it take so long?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Frith620

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah822

DNS lookups are not taking six seconds for all users, and you can confirm this by testing DNS speed with and of the third-party DNS speed testing services. Here is one example result from SolveDNS' test showing that DNS responses are actually very fast for the domain: www.solvedns.com/dnsspeedtest/evamilbrandt.de
Looking at the bigger picture, it appears that your web server does not have Keep Alive enabled, which is very strange. Enabling this is recommended (it is enabled by default) and will likely resolve the DNS issue because established connections will be re-used.

If speed is the goal, you have other optimizations you can make which are beyond the scope of this question, but you can consult a third-party testing site like GTmetrix for feedback on how fast your site is and what can be done to improve page load time. Here's a test I just ran for example: gtmetrix.com/reports/evamilbrandt.de/WN0LkH9B
Nice looking site by the way, now go make it fast and everyone will be happy!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme