Webpages aren't loading quickly anymore

I’m using a Mac Book Air, current operating system is the macOS Sonoma version 14.5. Ever since 6/28/24 in the afternoon it is taking a long time for webpages to load. If the page features a video, even when it finally loads the video buffers every few seconds. What happened?

It might be a problem of your dns.Just change your dns by cloudflare or google dns etc

Yes, it’s working fine again, now. Thanks!