I am running an angular application which is showing very low score in google page insights (13 in mobile and 43 in desktop). I am running this on Nginx server and all the compression and caching issues are solved from Nginx side but still it shows very low score in page insight. There is only one image in the page and it is already compressed.
Erros are to remove unused javascript and css files. But the files they are showing error are the build files which are generated from the angular production build. I am not getting how that files are unused. I am attaching the screenshot of errors here. Please help me solving these issues.
The issue is Zone.js - Zone.js is slowing down the application on google page speed, I have the same problem (for years). You can try too by disabling the zone.js on polyfills, and then add the zone.js file on assets and load as a script tag on the index.html and you will see the issue, and then disable the zone.js tag and run the lighthouse.
Test google page speed:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With