Hacker News new | ask | show | jobs
by rheide 3968 days ago
But if everything that could possibly reference a class or tag or attribute is inlined into the same file then you know exactly what the scope of your CSS is for that particular request. So it should be possible to minify even the names.
2 comments

Hm. A minimizing post-processor for a webpage and all the resources that it loads. That's an interesting idea which means it has probably already been done.
Doesn't mean it's been done well, it's been done to the point it's usable to anyone other than the originator, or it's been done and subsequently published in a way that's available to the general public, though :)
I'm not sure that would gain much, what with the compression that's ordinarily done anyways.