• I Cast FistOP
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    I’ve once worked on a project where the compressed .JS shit was ~27MB. Uncompressed it was ~600MB.

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      That was a fucking webpage…?. I am honestly wondering how a browser could even handle that much code…

      I’m gonna say I’ve seen 5 MB uncompressed before but not much more than that if at all. Imo 1 MB is borderline unacceptable for the typical web page.

      • I Cast FistOP
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        It was an internal system for keep track of several projects. That still used 600MB more javascript than it actually needed for what it ended up doing anyway; purely static pages could’ve done everything needed, except maybe the animated graphics, but the create/edit forms were a fucking pain to even test, because not a single fucking element had an id and the date picker was literally impossible to target with Selenium