News for hackers. Stuff that matters.
Re:This website has 81% battery power remaining by Beached on Sunday December 12, 2021 @01:36PM (#29532227)
it's gotten out of hand imo. page load times take longer than when I was browsing the web on dialup in many cases.
Re:This website has 81% battery power remaining by mro_name on Sunday December 12, 2021 @01:40PM (#29532273)
Website Obesity crisis going on and on: https://idlewords.com/talks/website_obesity.htm

Was here on HN several times, sadly still the case.

Re:This website has 81% battery power remaining by hutzlibu on Sunday December 12, 2021 @06:20PM (#29534733)
"I don't care about bloat because it's inefficient. I care about it because it makes the web inaccessible.

Keeping the Web simple keeps it awesome. "

Re:This website has 81% battery power remaining by kgeist on Sunday December 12, 2021 @02:41PM (#29532885)
I don't know, we're currently rewriting our UI from the classic "PHP renders everything with almost zero JS" to the more modern "single page application with a crap ton of JS" and the new UI feels much faster to me. The old way was to resend and rerender everything on each click, which is problematic for complex UIs with a lot of data.
Re:This website has 81% battery power remaining by selfhoster11 on Monday December 13, 2021 @05:02AM (#29538248)
On a modest 3 year old phone running Firefox, such websites are excruciating.
Re:This website has 81% battery power remaining by jmondi on Sunday December 12, 2021 @02:14PM (#29532596)
What a false equivalence. You are comparing static sites of the past to dynamic sites of today. Apples to oranges.
Re:This website has 81% battery power remaining by Nextgrid on Sunday December 12, 2021 @02:18PM (#29532636)
The vast majority of sites don't need to be dynamic though.
Re:This website has 81% battery power remaining by RussianCow on Sunday December 12, 2021 @03:16PM (#29533186)
[citation needed]

Websites have become significantly more complex in the last two decades.

Re:This website has 81% battery power remaining by Nextgrid on Sunday December 12, 2021 @03:37PM (#29533372)
Let’s look at Twitter for a real-world example. The core concept of it hasn’t changed, it still just has to display a blurb of a few hundred characters at most. Back in the day this was achieved by server-side-rendered HTML and a simple form POST. I don’t have the numbers for the page back then but I’d estimate it at 100KB - nowadays it’s a multi-megabyte-sized pile of shit that often fails at its primary purpose of displaying a block of text with a stupid “something went wrong” message or endless spinner.

The “new” Reddit is also a good example. Even ignoring all the user-hostile functionality changes, the actual experience is still slower and less reliable.

Re:This website has 81% battery power remaining by roywiggins on Sunday December 12, 2021 @06:17PM (#29534717)
And for proof that you can do better, Nitter is a better Twitter interface than Twitter is, and it's much lighter.
Re:This website has 81% battery power remaining by can16358p on Sunday December 12, 2021 @06:55PM (#29534979)
Reddit web is incredibly sluggish. I open the app to browse which is a smooth experience (putng aside dark patterns).

Same for Twitter. Maybe it's intentional to move users into the app, where ads are more likely to be actually seen (e.g. Many web users have ad blockers) and in app purchases are frictionless.

Re:This website has 81% battery power remaining by Nextgrid on Sunday December 12, 2021 @11:16PM (#29536539)
Just FYI, for Reddit there's an amazing third-party client called Apollo on iOS, and I'm sure there are others too, same on Android.
Re:This website has 81% battery power remaining by can16358p on Monday December 13, 2021 @07:01AM (#29538803)
Yeah I have it. I actually made the in app purchase to support the developer.

I ended up going back to the official app which I think is nice, but also feel nice about financially supporting an indie developer who does a nice third party client for a (generally) awesome community.

Re:This website has 81% battery power remaining by unionpivo on Sunday December 12, 2021 @06:23PM (#29534757)
Really ?

Take for instance news sites or blogs: When I read news article, what I want is mostly (there are some great interactive infographics, but those are tiny minority) text and few images, that are static.

And it's not like that as a consumer I get anything extra. The text and images are still static, for the most part. Except that now its makes 20 separate requests to load it all up. Hell, pages are usually even less dynamic, after comments fell out of favor.

What increased is number of extra stuff, that is mostly focused on selling me stuff, tracking every metrics possible, and trying to figure out somne clickbait I would click next for extra engagement.

But that's not content, content has largely stayed the same.

Re:This website has 81% battery power remaining by Nextgrid on Sunday December 12, 2021 @11:14PM (#29536524)
I don't believe the bloat of modern websites is because of ad-tech of dark patterns - all of these can still be done with an otherwise lightweight website. If anything, ads (excluding intentional resource usage such as crypto-miners) would be much lighter than what a typical SPA website like Reddit or Twitter is.

I believe what's happening is a broader trend in the industry of building engineering playgrounds and doing engineering purely for engineering's sake to benefit one's career - a positive feedback loop where not participating puts developers at a disadvantage as they won't gain over-engineering skills that companies now require (they require them because their developers or managers want them for the same reason).

Re:This website has 81% battery power remaining by ComputerGuru on Monday December 13, 2021 @12:34AM (#29536964)
Text-only NPR: https://text.npr.org/
Re:This website has 81% battery power remaining by netizen-936824 on Sunday December 12, 2021 @03:36PM (#29533358)
I don't want my browser to be loading entire JS frameworks and trackers and whatever other crap just to read a bunch of text. That's absolutely nonsensical
Re:This website has 81% battery power remaining by damir on Sunday December 12, 2021 @04:02PM (#29533576)
I'm using two browsers, one with disabled JS (primary) and vanilla one. When and only WHEN page doesn't load on non-js browser (and if I really, really, reaaaally want that piece of content) then maybe I will use vanilla browser...

Browsing with js disabled is fast, pages load quickly, almost no trackers and there are "old" or "text" versions of sites still available... old.reddit, old.twitter or nitter instances...

Heck, even google has one...

To be honest, I just use dillo browser most of the time. Small, speedy and safer then most...

Edit: typo.

Re:This website has 81% battery power remaining by dylan604 on Sunday December 12, 2021 @03:27PM (#29533268)
For the user's benefit, or for the dev's?
Re:This website has 81% battery power remaining by Nextgrid on Sunday December 12, 2021 @03:33PM (#29533331)
Or the advertises/whatever assholes profit of “engagement”?
Re:This website has 81% battery power remaining by _jal on Sunday December 12, 2021 @02:49PM (#29532958)
When you replace one with the other and notice a substantial change in time-required-for-task, I think you can make comparisons.