1
submitted 1 year ago* (last edited 1 year ago) by Cr4yfish@lemmy.world to c/nemmy@lemmy.world

Dev update 13

As always all changes are on Nemmy.app.

So, 2 days I think without updates... what's been going on?

I basically had zero time to do an update but also very little time to actually code, however there has been some changes, so:

What changed

  • I added another branch, testing out a new way of rendering Comments (huge performance boost) and started testing client-side caching in addition to the server-side cache

  • Every post (/post/any id) will now be rendered on the server side, which means it won't "pop-in" after you load the side. This will also be very important with another change I'll make soon, which will enable me to cache these requests to Lemmy. Which in turn means incredible response times.

  • I continued the migration from Lemmy.world as the default instance, to being able to switch that anytime. This means if Lemmy.world is offline again, Nemmy will just switch to another big instance like Lemmy.ml as default. Of course that will change anyway if the user logs in.

  • I also added a temporary fix for the Login problem: Some may have noticed that if you didn't check the "stay signed in" checkbox, you would't get a cookie, the JWT would only be stored in session storage.

Session storage has a major flaw with the current system of how Nemmy works though, because session storage works only in 1 tab, not in any other. So you wouldn't be signed in when opening any post, since they open in another tab for now.

So the workaround for now is to just give every user a cookie, like most other websites would do anyway (the cookie isn't used for tracking, but it can be a security risk of having that without explicit knowledge).

  • I also started coding the whole "save the scroll position" thing, so Nemmy will always remember where you left off and scroll there for you.

  • The "explore" section in the search page has also been properly added, though I plan on changing the algorithm to get trending topics very soon.

  • There's also been some smaller bugfixes

Well, that's it for the updates for now

See you all soon!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 17 Jul 2023
1 points (100.0% liked)

Nemmy

0 readers
0 users here now

Nemmy: The Neat Lemmy App for the Web

This project is focused on building an App with the best possible User Experience.

Nemmy Early Access Website

Nemmy on Google Play

Nemmy on GitHub

founded 1 year ago
MODERATORS