1
Double loading bug (lemmy.blahaj.zone)
submitted 5 months ago by aaaaace@lemmy.blahaj.zone to c/photon@lemdro.id

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
[-] Xylight@lemdro.id 1 points 4 months 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.

[-] aaaaace@lemmy.blahaj.zone 1 points 4 months ago

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

[-] Xylight@lemdro.id 1 points 4 months 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
1 points (100.0% liked)

Photon

274 readers
1 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

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

You can contact the dev at @Xylight@lemdro.id.

Rules

  1. Posts must be related to Photon in any way
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 11 months ago
MODERATORS