2 ms·
1. My site is also smol, but brand new and probably doesn't warrant a mention here, but respect for smol web! 2. > Because most people only view one or two art
by eyelidlessness 6y ago
1. My site is also smol, but brand new and probably doesn't warrant a mention here, but respect for smol web!
2. > Because most people only view one or two articles on my site, I include my CSS inline. With HTTP/2, this doesn’t make much difference, but Lighthouse showed around 200ms with inline CSS, 300ms with external CSS.
With respect, this seems to be the frontend consensus and it... just doesn't make sense to me. Unless you expect the majority of your traffic to never hit a cache header on that external CSS. That 100ms perf hit (which is probably a warning sign that something's wrong with your assets or server config anyway) should be a one time affair, and not repeating that payload over and over surely makes up for it in the sub-200ms responses after.