question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PageSpeed Insights complains on Angular CSS bundle files

See original GitHub issue

Bug 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:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
filipesilvacommented, Jun 1, 2017

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.

1reaction
Sljuburacommented, Jun 2, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found