7
Double loading bug (lemmy.blahaj.zone)
submitted 3 weeks ago by [email protected] to c/[email protected]

On ... https://phtn.lemmy.blahaj.zone/

the "random" thread loader runs twice.

I am on a slow rural connection so it may not be noticeable in town.

I go to read the first post, then page gets replaced by different posts.

This does not happen on... https://lemmy.blahaj.zone/

I think there is yet another theme for blahaj, but have not tested it.

top 3 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 3 weeks ago

That's because SSR is enabled. And photon doesn't have access to the Lemmy database completely, so it can't figure out what account you're using until the client fully loads Photon. So what's happening is this:

Server: loads posts with default settings

client starts loading...

Client: takes over server and loads posts client side using the users settings.

This will lead to different posts depending on what sort you use, what location, and if it differs from the server.

[-] [email protected] 1 points 1 week ago

Thank you. I switched to alexandrite and changed the colors. And found the messaging.

[-] [email protected] 1 points 1 week ago

SSR is disabled on phtn.app just like alexandrite, so you probably wont have the issue there.

this post was submitted on 18 Jun 2024
7 points (100.0% liked)

Photon

190 readers
1 users here now

Photon for Lemmy

An alternative UI for Lemmy with more features, a more intuitive UX, and modern design.

Share your themes, ask questions, report bugs, or check on the latest updates here!

founded 6 months ago
MODERATORS