Trys Mudford goes on what they thought was an epic CSS performance refactor with a not so surprising result.

https://piccalil.li/links/i-wasted-a-day-on-css-selector-performance-to-make-a-website-load-2ms-faster/

#PiccalilliLinks

I wasted a day on CSS selector performance to make a website load 2ms faster

Trys Mudford goes on what they thought was an epic CSS performance refactor with a not so surprising result.

Piccalilli
@piccalilli Hah, I once spent three days to reduce the CSS footprint by about 1.2kb after gzip. Then the client uploaded a 1.2mb image. Happy days.

@piccalilli Would have been interesting to compare the before and after on a low cost Android phone

I wouldn't expect to see much change on a Mx MBP

@piccalilli That was really fun to read. Thank you for sharing!