logoalt Hacker News

meerita • today at 7:32 AM • 2 replies • view on 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.


Replies

karolusrex • today at 8:17 AM

These type of comments often come from a place of arm-chair reasoning where you might not sit on the experience of working hands-on in a large team on a large product. While it’s probably true that X kB sufficient, that amount of performance optimisation is usually not warranted at this scale. Maintaining a design system, working with scoped classes, legacy code, and dealing with the complexities of chunking and probably further challenges we are not aware of from the outside. It seems like a common sentiment on HN (maybe not you in particular) is that engineers should drop everything and work overtime on optimizing performance, when it comes to web apps

➕ show 6 replies
DrBazza • today at 9:56 AM

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.