Defer unused CSS
I have a critcal CSS process in place that prevents a flash-of-unstyled-content (FOUC) on above-the-fold content of a page. I'm stuck on 'defer unused CSS' point that's being highlighted by Google PageSpeed insights (lighthouse) and/or Chrome's Performance Audit. I've gone through other articles but they do not work. To summarize I've tried so far. loadCSS() A script that uses requestAnimationFrame Ref: CSS delivery optimization: How to defer css loading? If I delay loading the script via setTimeout by a fixed time of 3 seconds the 'defer unused CSS' issue goes away. 3 seconds is what's needed