Skip Navigation

User banner
Posts
51
Comments
97
Joined
2 yr. ago

  • Good idea! I'll incorporate something like this in my own Lemmy App.

  • I'm actually trying to solve this issue on my own Lemmy app. It automatically switches instances when the requested one is down. Works only in the Feed right now and, of course, accounts are still instance-bound - but I will fix that soon.

  • It also works in Nemmy.

    Disclosure that I'm the main Nemmy dev :)

  • Yeah true. That is probably the correct way to do it.

  • Off-topic question, but where can you see the stats?

  • No, actually. Sorry I should've explained more in the post.

    The plan is to always send 2 requests, one with user details (to get upvotes, read posts, bookmarks etc) and the other without any personal data.

    The one with a JWT attached to the requests can't be server-side cached, since that would be a security risk.

    The one without any personal data can however be cached.

    So when I first do a server render of any page, almost all content will be cached and served instantly. Then I do a client side fetch of the same data, filling in user data such as bookmarked posts for example.

    Effectively, this will make the time until you see posts and stuff much faster.

  • It's in the Settings but the Settings page only works when logged in right now, which will change soon.

    If it's not in the Settings just refreshing the page should update Nemmy.

    Let me know if that fixes it.

  • Nice! Thanks for testing it out :).

  • Hm, thanks a lot for telling me. I will take another look at the login code. Seems to have a couple issues.

  • Hmm, I have actually experienced this bug myself before. My guess then was that the instance was down at the time.

    I wil definitely take another look at this!

    Thanks and great work you’ve done so far on the app, it looks so pretty!

    Thank you :)

  • Oof. Fixed that just now, the update is going up.

  • I'll update the image on the next update, currently changing a lot of stuff. Will be done soon.

  • Yeah, the prominent ones are probably squashing commits on merge anyway.

    But let me enjoy the moment anyway :D.

  • A 2FA/TOTP field has been added.

    You should be able to login now.

  • Oh, yeah. I totally forgot to add a TOTP field.

    I'll add it ASAP, sorry for the inconvenience :).

  • Nemmy @lemmy.world

    Getting Started with Nemmy & Latest Updates

    Nemmy @lemmy.world

    Dev update #6 Voting, improved Design and Docker

    Programmer Humor @lemmy.ml

    A post titled "not a bug" causing a Bug

    Nemmy @lemmy.world

    Dev Update #5: A ton of changes

    Nemmy @lemmy.world

    Dev Update #4: PWA and new Domain

    Nemmy @lemmy.world

    Nemmy can now be installed to most devices

    Nemmy @lemmy.world

    Dev Update #3: Post Page and better Light Mode

    Nemmy @lemmy.world

    Quick update on the Post Page

    Nemmy @lemmy.world

    Dev update #2

    Nemmy @lemmy.world

    Dev update #1

    Nemmy @lemmy.world

    Welcome to Nemmy!