PageSpeed Insights complains on Angular CSS bundle files
See original GitHub issueBug Report or Feature Request (mark with an x)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular 4.1.3 @angular/cli: 1.0.6 node: 6.10.1 os: darwin x64 npm: 3.10.10
Repro steps.
https://developers.google.com/speed/pagespeed/insights/?url=agentem.herokuapp.com&tab=desktop
PageInsight complains about the css bundle files created by Angular.
Demo: https://agentem.herokuapp.com Source: https://github.com/isaklafleur/agentem
Desired functionality.
Google PageSpeed Insights complains on CSS bundles created by Angular. https://developers.google.com/speed/pagespeed/insights/?url=agentem.herokuapp.com&tab=desktop
Who is wrong? PageSpeed Insight Dev Team? Angular Dev Team? Me? 😃
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Angular.js and Google Pagespeed Insights: render-blocking ...
I have a huge minified css file and it has to wait for that file to be loaded so i could use the...
Read more >Improving csper.io's initial page load speed
As first I wanted to put my angular assets (.js/.css) into a bucket, and serve it from the same csper.io domain. This is...
Read more >Angular 2 app - Google PageSpeed Insight tell me to "enable ...
But I keep getting the "Enable compression" error in the pagespeed insight. Compressing main.md5.bundle.js could save 1.2MiB (78% ...
Read more >aspnetcore-angular2-universal/Lobby - Gitter
Hello there anyone can give me some help on angular and net core for seo server side rendering? I am using static files....
Read more >Improving Web Page Performance - Simple Talk
Has someone ever complained to you that they didn't have a long ... than PageSpeed Insights and is available as a browser extension...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Well, no one is wrong, it’s just that we don’t support neither CSS inlining nor deferred CSS loading.
I agree that these are important optimizations that we should look at enabling. It’s sort-of part of a larger topic of Progressive Web Apps that we’re looking at enabling by default.
Insights provided shows something I’m also experiencing, the blank page. After moving to angular-cli from my custom webpack config, neither page insights nor ‘fetch as google’ are able to render the page.
I’m very certain this is caused by angular-cli, as I moved back and forward between commits. Changes were custom webpack -> angular-cli, and angular 4.0 -> 4.1/4.2.
Is this common? I was hoping to find an answer here but with no luck. Not sure if I should open up a bug report, as I can’t know for sure what’s causing it.