News for hackers. Stuff that matters.
Re:Relearn CSS layout by BurningFrog on Sunday June 16, 2019 @09:33PM (#20199116)
But does bloated CSS matter?

If a human isn't going to read the CSS and the computer handles it without performance problem, I say no.

Those are of course two quite important ifs!

Re:Relearn CSS layout by meerita on Monday June 17, 2019 @05:58AM (#20201379)
It matters.

First, not all users need your huge CSS file, in terms of downloading. Specially when they're on mobile phones and cache is crap.

A ~9000 rules CSS file will load and become COSSM slower than one that has 1000 or 10. It is linear increment. Make a test to see it for yourself.

A bloated CSS is more network time. Therefore, slower loading.

A bloated CSS will contain slower selectors, therefore slower rendering time and painting speed.

When you count all these things, you will see radical speed performance.

Re:Relearn CSS layout by BurningFrog on Monday June 17, 2019 @11:25AM (#20203879)
Maybe. You need to measure these things and get a feel for the actual performance impact to make informed decisions.

Rule 1 of performance: Your intuitions are not reliable.

Re:Relearn CSS layout by saidajigumi on Monday June 17, 2019 @02:20PM (#20205898)
Upthread, this commenter did post specific measurements from production projects.
Re:Relearn CSS layout by sk0g on Monday June 17, 2019 @02:32AM (#20200420)
Does download size matter? Why bother with compression or minification?

https://jakearchibald.com/2019/f1-perf/

Re:Relearn CSS layout by sheriffderek on Tuesday June 18, 2019 @05:14PM (#20218480)
No. No way. If you're CSS is a problem - then you are doing something really really wrong.