DEV Community

Discussion on: Inlining Critical CSS

Collapse
 
pavelloz profile image
Paweł Kowalski

To avoid additional request and layout shift.

Thread Thread
 
imkevdev profile image
Kevin Farrugia

We should avoid layout shift because the critical CSS would have already been fetched. The non-critical CSS will be applied on elements below the fold or out of sight.

Thread Thread
 
pavelloz profile image
Paweł Kowalski

In theory - in practice its usually not the case. ;)