-
Notifications
You must be signed in to change notification settings - Fork 365
Automatically generate and inline CriticalCSS for production #267
Comments
This would be a fantastic addition for global optimization of Shopify Stores - scores like PSI really take into account the "CSS render blocking resources" and deferring them completely provides an awful user-experience while loading the page. At the moment I'm manually curating a "critical" stylesheet to load inline and deferring the rest by using the following snippet of code.
I was wondering if there were any plans on including an automatic integration on any future release thus far, or if by customizing |
Any updates on this? |
Please, dear Shopify gurus, allocate some time for you devs only to complete this killer feature :) |
Critical CSS is an approach to optimizing the Critical Render Path and decreasing first render times. By inlining styles needed above the fold, the browser no longer needs to wait for a render blocking external CSS file to download so it an get started rendering the page as soon as the HTML document has been parsed.
In order for Critical CSS to be easily included and maintained in a project, it needs to be generated automatically. There are several tools available that accomplish this, one of which is Critical.
Big perf win for themes!
cc @Shopify/performance
The text was updated successfully, but these errors were encountered: