• sobchak@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    Is it just the HTML that should be under 14kb? I think script, CSS, and image (except embedded SVGs) are separate requests? So these should individually be under 14kb to get the benefit?

    • xthexder@l.sw0.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      In an ideal world, there’s enough CSS/JS inlined in the HTML that the page layout is consistent and usable without secondary requests.

    • kibiz0r@midwest.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      23 hours ago

      Those additional requests will reuse the existing connection, so they’ll have more bandwidth at that point.

      • sobchak@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 hours ago

        Interesting, didn’t know that’s how modern browsers worked. Guess my understanding was outdated from the HTTP/1 standard.