this post was submitted on 10 Sep 2023
471 points (97.8% liked)

Asklemmy

43940 readers
824 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

I've definitely turned into the paranoid nutcase within my friend group in recent years, I hate that everything is "smart" nowadays requiring an app/internet connection & account, just to do basic things that didn't require any of that before.

What's some things currently making you ramble like an old man?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] starman@programming.dev 19 points 1 year ago* (last edited 1 year ago) (2 children)

That lot of websites these days loads tons of JS, even when they should just be multi-page static websites.

Edit: I have recently compared my website (built with astro), and it weights 15 times less than other similar sites. And when you check why, it turns out that they are loading jQuery, React, unoptimized images and stuff like that, for simple website, that don't even use any interactive stuff, except menus.

[โ€“] yukichigai@kbin.social 4 points 1 year ago (2 children)

It's everywhere, and for no good reason. I've yet to find a Lemmy instance that will work without JavaScript enabled.

[โ€“] alokir@lemmy.world 6 points 1 year ago

There is a good reason for it, and that's saving money. Computation on the user's device is free, doing it on the server/cloud costs money.

Serving static files that's cached in the browser, and providing a thin API layer is cheaper to host and might be worth it on the long run.

[โ€“] Uranium3006@kbin.social 1 points 1 year ago (1 children)

I'd support a JS free front end. Thankfully it wouldn't even be hard to do, and you could even use a desktop client so you don't even need anything but the API

[โ€“] Xylight@lemmy.xylight.dev 1 points 1 year ago

Mlmym is server rendered I think

[โ€“] Uranium3006@kbin.social 2 points 1 year ago

I feel like we should try and move some of the most commonly used stuff into the browser engine so we don't have to run random code