Too Much JavaScript? Why the Frontend Needs to Build Better
thenewstack.io
external-link
One company found that too much JavaScript costs them $700,000 per year, per kilobyte. Here's what Alex Russell says needs to change.

This was more interesting than I expected. Though they didn’t clarify why it costs $700,000, given the context I assume it’s customers on slower devices/connectivity leaving rather than something like bandwidth?

neil
link
fedilink
English
12
edit-2
1Y

Often, it boils down to one common problem: Too much client-side JavaScript. This is not a cost-free error. One retailer realized they were losing $700,000 a year per kilobyte of JavaScript, Russell said.

“You may be losing all of the users who don’t have those devices because the experience is so bad,” he said.

They just didn’t link to the one retailer’s context. But it’s “bring back old reddit” energy directed at everything SPA-ish.

edit to give it a little personal context: I was stuck on geosat internet for a little while and could not use amazon’s site across the connection. I’m not sure if they’re the retailer mentioned. But the only way I could make it usable was to apply the ublock rule *.images-amazon.com/*.js^ described here.

What really stunk about it was that if you’re somewhere where geosat is/was the only option, then you’re highly dependent on online retail. And knowing how to manage ublock rules is not exactly widespread knowledge.

Orvanis
link
fedilink
English
171Y

That was what I got from the article too. That the 700k was lost opportunity due to a poor user experience, not that it actually was them spending more money.

Hotdog Salesman
link
fedilink
English
19
edit-2
1Y

Amazon found back in 2006 that every 100ms page load time resulted in -1% sales, and considering that they’re talking about bloat yeah, it’d be just from the increase load time/customers lost.

I Cast Fist
link
fedilink
English
11Y

The funny thing is that internet speeds, back in 2006, were significantly lower than today. And here we are, with 10x the speeds and pages somehow loading slower than back then!

@malloc@programming.dev
link
fedilink
English
21Y

One retailer realized they were losing $700,000 a year per kilobyte of JavaScript, Russell said.

It’s a retailer so definitely lost sales or conversions

The Bard in Green
link
fedilink
English
51Y

At $700k per kb, it really can’t be anyone other than Amazon.

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog