I have searched Stack Overflow and found nothing about this. So here it goes
I was wondering if anyone has created server side script (PHP preferred) that can determine what css rules are required for a page to render. Something that would cross reference the HTML with a set group of css files and recreate a lighter version for a specific page.
Since Googles Update and the importance to render blocking scripts/CSS and to lighten the load I think this would be an awesome script.