‹ BackHN Continuity

Thread

Improving site performance by shipping more CSS

96 points · 72 comments · torutofu

  1. meerita · · focus · HN ↗
    I don't know how they perceive the performance. I see 41 network requests. That's 2.1 MB of CSS over the wire, blocking rendering and hurting painting and loading speed. There's 400 KB of Tailwind, 87 KB of general CSS, plus another 200 KB of other general CSS. They need to embrace functional CSS properly. I'm sure they could have a single CSS file under 80 KB that renders everything.
    1. DrBazza · · focus · HN ↗
      FWIW, a very quick look at other comparable sites (what seems to be the main css files):

      sourcehut's 128kb raw, and 28kb over the wire.

      codeberg is 420kb raw, and 66kb over the wire.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.