Remix.run Logo
olivia-banks a day ago

Couldn't this increase FOUC? At least before you could load in your style-sheet before the font, but if you embed the font inside you get no styling at all until it can fetch all of the data, correct

dspillett 4 hours ago | parent | next [-]

> Couldn't this increase FOUC?

Not if the font data is in a style tag in head, or otherwise before any content that's display might need, or be indirectly affected by, the font.

It will delay first paint on slow connections (all connections, in fact, but on a strong link you'll not notice) though.

erikpukinskis a day ago | parent | prev [-]

Not if the styles + fonts are all in the <head>?

booi a day ago | parent | next [-]

wouldn't the problem be the fonts are basically in every single request and uncacheable then?

kevincox 19 hours ago | parent | next [-]

Your CSS should be cacheable shouldn't it?

kellengreen a day ago | parent | prev [-]

^ this

Velocifyer a day ago | parent | prev [-]

That increases FONC (flash of no content)