Attaching a stylesheet through response headers

A server can deliver a stylesheet to a page without any <link> element in the markup. If a request is answered with a header like this:

Header add Link "<style.css>;rel=stylesheet;media=all"

the response pulls in that stylesheet, so nothing has to be wired up in the HTML. Only Firefox supports the technique, and Louis Lazaris has written it up.

Why Lazaris doubts it will ship

Lazaris argues that the one plausible production use would be shipping Firefox-only CSS — a possibility Eric Meyer raised in an older post on the same subject. But he notes there is no guarantee the behavior will stay limited to Firefox, which he still counts as a problem.

“Do with this what you like, but it’s extremely unlikely that this will have any use in a real project.”

Classic CSS trickery, regardless.