Hacker News new | ask | show | jobs
by nachteilig 4566 days ago
I just saw google recommending inlining small fragments of css/js in the newer pagespeed guidelines. This has definitely piqued my interest and I wondered if people were doing it, mainly because I'm never sure which side of the speed vs. proper semantics debate I want to be on.
2 comments

Semantically there is no difference between adding network requests for assets or inlining them, whether through data URIs or inline script/style tags. It's a fast vs slow debate. :)
You can have both speed and proper semantics (I assume you mean clean separation of concerns) by having your build script do the inlining.