planetary-social / rooms-frontend

MIT License
4 stars 2 forks source link

Improve homepage loading time #128

Closed mplorentz closed 1 year ago

mplorentz commented 1 year ago

The homepage at https://planetary.name is taking too long to load. Let's spend some time optimizing. How much optimizing is enough? You be the judge.

mplorentz commented 1 year ago

@chereseeriepa is this something you have time to take on? I think @mixmix said he had some ideas about low-hanging fruit.

chereseeriepa commented 1 year ago

Have reached out to Mix for input :)

chereseeriepa commented 1 year ago

I think i know whats causing this issue. Its because the code in place for loading the threads was meant to be a temporary "quick" fix as we havent yet written the graphql endpoint to getThreads. I think a fix now would be to write the real "getThreads" function in graphql. Get Threads by members