Daily Shaarli

All links of one day in a single page.

October 2, 2024

"I wasted a day on CSS selector performance to make a website load 2ms faster", Trys Mudford (@trys@mastodon.social)
thumbnail

Optimizing CSS can be challenging, especially when the CSS selector profiling in Chrome may distort results. It is advisable not to focus on CSS selectors unless your CSS file contains numerous unused rules, adding unnecessary bulk.

Prioritize resolving other issues before delving into selector optimization.