Optimization of CSS Loading Priority to Improve LCP Web Vitals #62266 #62267
-
NextJS 13 with App Router Currently, all CSS files are loading at high priority, leading to elevated Largest Contentful Paint (LCP) Web Vitals. This affects the user experience negatively, as it prolongs the time crucial content becomes visible to the user. To enhance performance and user satisfaction, exploring methods to defer or reduce the loading priority of CSS files is imperative. As you can see in the above screenshot all the CSS are loading at higher priority. We want to reduce the loading priority of these CSS files. You can check the website at https://hindi.speakingtree.in/ Your insights and input on this matter are highly appreciated. Let's collaborate to enhance performance and provide an exceptional user experience. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @rajnish-ti!
|
Beta Was this translation helpful? Give feedback.
-
We're working on an experimental flag to enable CSS inlining, for both webpack/turbopack. You can follow along on the PR: #72195 Closing this discussion to combine with: #59989 |
Beta Was this translation helpful? Give feedback.
We're working on an experimental flag to enable CSS inlining, for both webpack/turbopack.
You can follow along on the PR: #72195
Closing this discussion to combine with: #59989