Comment on The sheer amount of websites that are completely unusable without JavaScript

<- View Parent
unwarlikeExtortion@lemmy.ml ⁨1⁩ ⁨week⁩ ago

As a web dev, and primarily user, I like my phone having some juice left in it.

The largest battery hog on my phone is the browser. I can’t help wonder why.

I’d much rather wait a second or two rather than have my phone initialize some js framework 50 times per day.

Dynamic HTML can be done - and is - server-side. Of course, not using a framework is harder, and all the current ones are client-side.

Saying making unbloated pages is impossible to do right just makes it seem like you’re ill informed.

On that note - “Closed-source” JS doesn’t really exist (at least client-side) - all JS is source-availiable in-browser - some may obfuscate, but it isn’t a privacy concern.

The problem is that my phone does something it doesn’t have to.

Having my phone fetch potentially 50 MB (usually 5-15) for each new website is a battery hog. And on a slow connection - to quote your words, “great UX”.

The alternative is a few KB for the HTML, CSS and a small amount of tailor-made JS.

A few KB’s which load a hundered times faster, don’t waste exorbitant amounts of computing power - while in essence losing nothing over your alternative.

“Old pages with minima style” is a non-sequitur. Need I remind you, CSS is a thing. In fact, it may be more reliable than JS, since it isn’t turing-complete, it’s much simpler for browser interpreters to not fuck it up. Also, not nearly the vulnerability vector JS is.

And your message for me and people like me, wanting websites not to outsource their power-hogging frameworks to my poor phone?

Go build your own browser.

What a joke.

source
Sort:hotnewtop