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.

  • Xylight (Photon Dev)@lemdro.idM
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days 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.