For my small app (65000 loc), disabling inline critical CSS increases FCP of 0.2 second.
It's not a big deal in my case because it was an internal application for employees.
This is a trade off between security and performance.
Personally, Iām waiting for a better way to load CSS asynchronously.
script tag has async or defer attributes, it could be the same for CSS but not.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the wonderful article. My question is how do you deal with improving FCP and fixing FOUC while keeping CSP configurations secure?
For my small app (65000 loc), disabling inline critical CSS increases FCP of 0.2 second.
It's not a big deal in my case because it was an internal application for employees.
This is a trade off between security and performance.
Personally, Iām waiting for a better way to load CSS asynchronously.
script tag has
async
ordefer
attributes, it could be the same for CSS but not.