3 ms·
Yeah, it feels like somebody's taken some sensible advice from the HTTP 1.1 era too far. (I realise we're still very much in the tail end of the HTTP 1.1 era.)
by bartread 10y ago
Yeah, it feels like somebody's taken some sensible advice from the HTTP 1.1 era too far. (I realise we're still very much in the tail end of the HTTP 1.1 era.)
Putting styles needed to render your above the fold content inside <head> is a sensible thing to do, assuming you've been able to restrain yourself by not animating the buggery out of everything, and have kept your stylesheet small. It saves a roundtrip to the server or CDN that will block your content from rendering.
Putting all your styles inline? Sheer madness. Inventing your own syntax to do it? Even worse. The whole thing with CSS is, used well, it does actually reduce page weight vs. old skool HTML table and element based styling. You lose all that if you start bunging all your styles inline.
Still, I suppose if your page is already 4 #@<£ing megabytes because of all the crap you've cargo-culted in, maybe it doesn't matter so much. </snark>