Closed martinDolan closed 1 year ago
I closed #15 as a duplicate of this, but bringing the comment over here - is critical.css
relevant anymore? Especially doing it manually. IMO we should just get rid of it instead of spending time fixing this. We can add critical.css
on a per-project basis if FCP is a big problem on that project.
https://web.dev/extract-critical-css/ https://csswizardry.com/2022/09/critical-css-not-so-fast/
Thanks for the resources and thoughts, @itsamoreh. I've gone ahead and removed the critical css and references to it in a PR.
This was merged with PR #18 closing this
I'm seeing some PHP errors on the frontend before any development work has been done.
I ran a quick test by adding a
critical.css
file to/build
in the root of the theme. This resolves the PHP errors. Ideally, we need a SCSS file that builds tocritical.css
so that we have a place to store our critical CSS.Steps to reproduce: