Re:Ask HN: Why is Hacker News loading so slowly?
by toast0 on Tuesday February 21, 2023 @11:17AM
(#34882842)
tcpdump or a pcap should probably show something fairly obvious for a 40 second delay. But my guess is path mtu problems. I've written a test for this; it's unpolished but might help you out.
click start, and wait for the test to finish. If the table shows notes other than OK in the right column, you might have an issue. If you do, probably you can fix it by applying MSS clamping on your internet router, or manually setting an MTU appropriate to your connection.
Re:Ask HN: Why is Hacker News loading so slowly?
by boundless88 on Wednesday February 22, 2023 @06:51AM
(#34894333)
Hacker News is not available in some parts of the world. Like me, I have to use a VPN all the time to access it. The quality of the VPN is crucial in this case.
http://pmtud.enslaves.us/
click start, and wait for the test to finish. If the table shows notes other than OK in the right column, you might have an issue. If you do, probably you can fix it by applying MSS clamping on your internet router, or manually setting an MTU appropriate to your connection.
This happens infrequently, where sometimes pages take very very long to load. Other sites run fine meanwhile.
and leave it running; if you experience an issue, note the time, ctrl-C tcpdump and open it in wireshark and see if you see anything interesting.
If there's nothing there, it might be a DNS issue, which you'd need a different pcap for. You might also need to select the right interface.
I had doubts about my ISPs DNS, changed it to use cloudflare dns, it didn’t help much.