• 9point6@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Gzip (any properly configured static server will serve compressed assets) probably compresses them down so probably a single extra byte per file

    • dan@upvote.au
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      Gzip is old-school. The majority of modern sites use Brotli now. It’s slower to compress, but that’s not normally an issue for static resources (CSS, JS, etc) because they can be pre-compressed during the build and the web server serves the pre-compressed files instead of dynamically compressing them.