My personal site, hosted on gh-pages, has started taking upwards of 20-25 seconds when loading for the first time. Subsequent loads are fast/typical of a static web page.
I can consistently recreate the slow page load by opening FireFox, going into a private browser window, and going to kuanbutts.com. Page load will typically take between 20-30 seconds. This behavior is not isolated to FF - I can also recreate this pattern in Chrome and Safari as well (using incognito modes). I am finding little online regarding this issue and trying to understand what is going on (or receive feedback on how I might interogate this).
Here I watched my network tab in one instance and captured a 1.3 minute time expenditure related to the "initial connection" step:
When I curled my address, a similar performance, time-wise occurred (30+ seconds to receive the index.html content). The logs I captured with verbose logging turned on were as follows:
➜ ~ curl kuanbutts.com --verbose * Rebuilt URL to: kuanbutts.com/ * Trying 22.214.171.124... * TCP_NODELAY set * Connection failed * connect to 126.96.36.199 port 80 failed: Operation timed out * Trying 188.8.131.52... * TCP_NODELAY set * Connected to kuanbutts.com (184.108.40.206) port 80 (#0) > GET / HTTP/1.1 > Host: kuanbutts.com > User-Agent: curl/7.54.0 > Accept: */* > < HTTP/1.1 200 OK
Solved! Solved! Go to Solution.
Issue was related to a bunch of junk in my GoDaddy DNS records (which I had not really logged into or managed in close to a decade) as well as my A records pointing at a (very) outdated IP Address. It appears there were many, many redirects occuring.
Cleaning up and udpating my DNS records resolved the issue. My site now loads "quickly."