-
Notifications
You must be signed in to change notification settings - Fork 12k
Eliminate render-blocking resources #17966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@alan-agius4 any update on this issue? |
Hi @geetika-kathuria, we are currently liaising with the Chrome team to find a solution for this. |
@alan-agius4 Thank you for your prompt response. |
Any update for this ? |
We have created an RFC for this, kindly see: #18730 |
…optimizations This is another feature that we mentioned in the Eliminate Render Blocking Requests RFC (#18730) Inlining of critical CSS is turned off by default. To opt-in this feature set `inlineCritical` to `true`. Example: ```json "configurations": { "production": { "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ], "optimization": { "styles": { "minify": true, "inlineCritical": true, } }, ``` To learn more about critical CSS see; https://web.dev/defer-non-critical-css https://web.dev/extract-critical-css/ In a future version of the Angular CLI `inlineCritical` will be enabled by default. Closes: #17966 Closes: #11395 Closes: #19445
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Team,
I'm getting the following recommendation using lighthouse

Even for a base application with no content, its complaining about styles.css
After adding my own code, I'm sure it will reduce the performance score even further.
So the question is either is it a known bug and if yes, can you please point me to the issue tracker/expected fix? Or are there any best practices that I'm totally missing?
Apologies if its a basic question but I can really appreciate some help.
Thanks,
Geetika.
The text was updated successfully, but these errors were encountered: