Join Nostr
2024-01-26 02:19:43 UTC
in reply to

voxel on Nostr: 8k of inline css is slower for everything after the first page load. External ...

8k of inline css is slower for everything after the first page load. External resources are cached in normal circumstances, and if your site is multiple pages instead of some ajaxian 'app', every page you visit will be 8k heavier with inlining, vs the 20 to 120 millisecond delay you might add by having to request the external stylesheet.

This is assuming a single stylesheet of course. If you're using 20 of the things it probably plays out differently