DEV Community

Discussion on: Angular Security - Disable Inline Critical CSS

Collapse
 
0xdbe profile image
0xdbe

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.