Login
You're viewing the code4lib.social public feed.
  • Nov 24, 2026, 11:12 PM

    Years ago, back on the hellsite, I posted some traces of burrito taxi websites, and the people that made them got very upset (as though the thing to be angry about was objective measurement of their failure, rather than the...uh...failure). Was told that React made things better, and that they would improve further.

    Fast forward to 2026, and 3.4MB of JS (compressed, many times that unzipped) are in the critical path to load a landing page.

    A LANDING PAGE.

    💬 1🔄 1⭐ 0

Replies

  • Nov 24, 2026, 11:17 PM

    "But it's an SPA!" they shout, unable to produce statistics about bounce rates or data from latency ablation studies to justify the assertion that this isn't a real business problem.

    "We have long sessions!," they yelp, unwilling to westle with the concept of deadweight losses.

    💬 1🔄 0⭐ 3
  • Nov 24, 2026, 11:22 PM

    And lest anyone think the *obscene* 3.4MB weight to render two hero images, a logo, and some links was bad, the full weight of the homepage for this burrito taxi website is 7MB, of which *5.9MB* is JS.

    But remember, the React community & hangers on are sages you should believe about what good web development looks like and how you should invest your limited development budget:

    Grubhub loads 7MB of resources on it's homepage, nearly 6MB of which is JavaScript (compressed). This is a disaster for their business:

https://www.webpagetest.org/video/compare.php?tests=261124_instant_c824bcaba4a6432bb8a961253730d112-r:1-c:0
    💬 1🔄 1⭐ 0
  • 💬 0🔄 0⭐ 0