News for hackers. Stuff that matters.

Ask HN: Why are Reddit's webpage elements so slow to load?

I have tried several browsers and I keep getting the same subpar UX. Everything is slow. I click on the Chats icon and it takes several seconds to load. Switching between chats also takes a couple seconds. When I send a message, it takes 3-4 seconds to show up in the chat.

With each update to the website, they've just broken more and more things. The legacy chat UI was much better and it allowed for deleting chats as well. Now you can just "hide" them.

( 10 comments | 5 points | on HN )
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by quadral on Sunday June 25, 2023 @05:28PM (#36472767)
This is my nit pick with these SPA apps.

It's becoming a habit where it is _okay_ to split your UI into many components, and those many components are doing their own separate thing, but the problem occurs when those components are doing their own API calls.

Hard reloading Reddit and looking at the total ajax requests, I am getting between 132 and 140 ajax requests to load a relatively simple page; text and images.

It's absurd how they manage to get into this state and think it's _okay_.

Re:Ask HN: Why are Reddit's webpage elements so slow to load? by rafark on Sunday June 25, 2023 @06:33PM (#36473351)
On a slow internet connection it simply won’t load.
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by DANmode on Sunday June 25, 2023 @07:58PM (#36473969)
This should not be a condemnation of SPA, webapps, or anything of the sort.

It should be a condemnation of append-only marketing people guiding your web application.

Re:Ask HN: Why are Reddit's webpage elements so slow to load? by codingclaws on Tuesday June 27, 2023 @11:26AM (#36494244)
130 ajax requests for a page?! lol
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by namaria on Wednesday June 28, 2023 @08:45PM (#36514881)
I was in a big bookstore inside an old building today. Tried using Goodreads.com and realized, due to my poor mobile connection, that every new word on the search bar was creating separate requests due to the dynamic search feature... sight
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by mikequinlan on Sunday June 25, 2023 @05:38PM (#36472862)
* * *
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by DANmode on Sunday June 25, 2023 @07:57PM (#36473958)
Half of the available client bandwidth is loading piles of JS of questionable value....?
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by supertrope on Sunday June 25, 2023 @08:23PM (#36474143)
There's probably many more incentives to add revenue generating features than keep the page load time under a par value.
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by ldjkfkdsjnv on Monday June 26, 2023 @05:47PM (#36486314)
Bad engineering
Re:Ask HN: Why are Reddit's webpage elements so slow to load? by pawelduda on Monday June 26, 2023 @07:29PM (#36487210)
They do it on purpose to frustrate you into downloading their app

The app is even worse tho so you're not missing out