2 ms·
And this approach may or may not be better, depending on usage patterns. Code splitting or even inlining may benefit users who tend to view only one page then m
by eyelidlessness 5y ago
And this approach may or may not be better, depending on usage patterns. Code splitting or even inlining may benefit users who tend to view only one page then move on. A single file loaded and cached upfront will tend to benefit users who stay on your site to view multiple pages.
In either case, splitting atomic CSS is probably more complex to get right because of ordering, and possibly more inefficient for everyone as well.