How to go about unused CSS issues
- by Saif Bechan
I am running some speedtests on a blog, and I always get complaints about unused CSS. But this is not CSS that I never use, it is just not used on that particular page.
Now I work in a structured way, but there still has to be some CSS in the file that will not be used, because you need it on another page.
I do not think that using different CSS files on different pages is the way to go, I think you are much better off just creating one big file that can be cached.
Now is there an elegant way of dealing with this, or do you just stick with it.