News for hackers. Stuff that matters.
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.

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.

Re:Ask HN: Why is Hacker News loading so slowly? by prakhar897 on Tuesday February 21, 2023 @02:01PM (#34885344)
tried, everything comes OK.

This happens infrequently, where sometimes pages take very very long to load. Other sites run fine meanwhile.

Re:Ask HN: Why is Hacker News loading so slowly? by toast0 on Tuesday February 21, 2023 @03:15PM (#34886455)
If I were you, I'd run something like tcpdump -n -w ycomb.pcap host news.ycombinator.com

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.