this post was submitted on 18 Oct 2023
85 points (97.8% liked)

Asklemmy

43939 readers
796 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 swear every mobile site is absolute garbage that runs like ass on phones.

all 21 comments
sorted by: hot top controversial new old
[–] 7ai@sh.itjust.works 98 points 1 year ago* (last edited 1 year ago) (1 children)

Because modern web is bloatware. Too much javascript, CSS, ads and cookie popups. A phone's hardware and internet speeds are generally not as fast as a desktop. So, it takes much longer to render on a phone.

Also, a lot websites nowadays deliberately make their mobile web experience shitty (cough ** reddit cough) to force their users to install their app.

Not every developer designs their site for mobile. Some design it for desktop, others for apps, some for phones.

[–] FARTYSHARTBLAST@sh.itjust.works 54 points 1 year ago (3 children)

At least some of it is shitty companies either neglecting to optimize or even outright sabotaging their own sites to try and force you to install their data harvesting app so they can sell more of your data for profit.

The rest is just lazy devs not optimizing because they're lazy and/or underpaid and overworked.

[–] yardy_sardley@lemmy.ca 18 points 1 year ago

And the data harvesting app is nothing more than a stripped-down browser with the company's color scheme slapped on it.

[–] DeadlineX@lemm.ee 10 points 1 year ago (2 children)

Or a junior dev implemented it and somehow it passed code review. Then when it was tested by the dev on localhost, it ran great. Then when (if) it hit qa, it was ran on local servers and worked fine.

A lot of things slip through the cracks. That’s what hot fixes and patches are for. It happens.

[–] FARTYSHARTBLAST@sh.itjust.works 5 points 1 year ago (1 children)

Bold of you to assume they even use QA

[–] DeadlineX@lemm.ee 2 points 1 year ago

lol I did say if. Some of us still have QA!

[–] xmunk@sh.itjust.works 7 points 1 year ago

Seriously, fuck Instagram and Pinterest so much. I have those sites blocked from my searches permanently for just this reason.

[–] theKalash@feddit.ch 16 points 1 year ago* (last edited 1 year ago) (1 children)

You have to cram everything into a much smaller space while still having the whole thing be usable with much more clumsy touch inputs. Thos are serious limitations.

If 60% of the screen is taken up by some form of ad, that's a design choice not a technical hurdle.

[–] dan1101@lemm.ee 11 points 1 year ago (1 children)

When you're developing a site you have to decide whether to have a completely separate site for mobile (which is generally twice as much work for future site updates) or try to make one layout that adapts to both desktop and mobile (which tends to favor one or the other.)

[–] miss_brainfart@lemmy.ml 21 points 1 year ago (2 children)

It's really not that hard to make a single, responsive layout, but these fuckers just love cramming in the most unnecessary bs into their web experience.

And that is what makes it a problem.

[–] whofearsthenight@lemm.ee 14 points 1 year ago (1 children)

The trend when doing web-development since at least 2014 or so is mobile-first responsive design, which is basically as you describe, and it is really not that hard.

You're right - the only reason that any regular website isn't performant is usually because it's chock full of bullshit. Most of the web is unfortunately riddled with a few problems:

  • library bloat. The vast majority of developers (even outside of just web) will include a giant library for 1-2 functions instead of just writing it themselves. I don't really blame them, most of the incentive for development these days has little to do with building things well, but instead focuses on building them quickly. With web dev in particular, it's extremely common to import a few thousand npm packages from dubious sources.
  • on the web especially, everything seems to be running 3-4 different tracker networks, ad tech bullshit, anti-adblock stuff, click/scroll/jackers, etc. I'd hazard a guess that the vast majority of the regular web, the content is less than half of the actual function of the site.
  • It's also extremely common in web dev to use some cool kid toolset designed to recreate photoshop on the web to build a blog or whatever.
[–] miss_brainfart@lemmy.ml 7 points 1 year ago

JavaScript is incredibly overused, too. Like, you'll visit this simple site, not much going on at first glance, not much to do besides reading the content. And then you look at uBlock Origin, which tells you the site runs 46 scripts.

For what??

[–] Vash63@lemmy.world 5 points 1 year ago

Ads maybe? Firefox + uBlock Origin might help with some sites that have ads for trackers.

[–] IzzyData@lemmy.ml 5 points 1 year ago (1 children)

I think some of the web frameworks people use are converting the desktop site into a mobile layout by applying additional CSS and layers ontop of it that makes it more inefficient.

[–] xmunk@sh.itjust.works 7 points 1 year ago

If done well this isn't a noticeable performance impact. CSS is blazingly fast and even mobile devices can handle thousands of rules essentially instantly... sometimes, however, modern web frameworks use Javascript to either dynamically rewrite rules or, worse even, manually apply different styles to individual elements based on page width.

Also, react is a bloated piece of shit that can make any page take forever to load on a 3g or lower connection... and it's extremely popular.

[–] QuarterSwede@lemmy.world 2 points 1 year ago

I don’t find that to be true. What device are you using?

[–] markr@lemmy.world 2 points 1 year ago

For example the mastodon app on iOS sucks ass.