There are numerous discussions on whether it's better to have many CSS files or just one, with the consensus being that using a single file reduces the number of HTTP requests. However, my question is a bit different.
Personally, I tend to use two CSS files - one for the entire website and one for page-specific overrides.
My reasoning is that this approach speeds up the CSS processing as there are fewer selectors to evaluate for each element on the page.
While adding an additional cachable CSS file may seem like a small tradeoff, it can significantly improve the browser's rendering speed, especially for larger websites or those with extensive custom CSS requirements for each page.
On the other hand, the page-specific files may contain additional media queries.
What do you believe is the best solution in this scenario?