Developer fighting 502s from Lemmys Servers.

  • 45 Posts
  • 80 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle



  • Cr4yfish@lemmy.worldtoMemesXi as Winnie the Pooh is racist
    link
    fedilink
    arrow-up
    3
    arrow-down
    17
    ·
    10 months ago

    Just scrolled past this on All.

    Americans should be contained be the SCP.

    Sure, 90% of you guys over there are racists and have a huge racism problem but don’t go apply your racist shit to everyone internationally.

    I’ll continue having Xi an Pooh synonymous because I’m not racist and can actually do things in life without trying to make it about ““race””.

    P.S. God, where did Americans even get the idea that Asians look yellow?? Most of my family is Asian and is black. I know Asians who are paler than me (German).

    It’s like I’d color my face blue and someone calls me a racist, discriminating penguins.


















  • 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.