I was experiencing similar issues, but only on Fedora. On any other distro, webpages would load just fine. What I did to fix it was to first disable IPv6 for my network connection. Then, I set DNS to use the addresses provided by my ISP, instead of my router. You can login to the admin portal for your router to find these addresses.
Even disabling the DNS processing, I still have some problems.
I buy a Mikrotik HAP mini (USD 19) e put it after my ISP modem, then I put my tp-link (AX1500) on the MikroTik (with access point mode), and now everything is perfect.
I don’t know if it’s a problem with the tp-link or my ISP (or both). I also use MikroTik to login into my ISP provider (PPPoE).
I spent many hours over the past 2 weeks trying to figure out recent slowness that has been happening on my Fdora 36 system, web pages and system was really wonky all and all. It’s dual boot system and the Windows 10 did not exhibit the samm sysmptoms which really was stumopnng me. Disabling ipv6 that is what finally worked for me.