PageSpeed Insights how to improve

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
I am trying to improve my rating in Google's pagespeed insights and it seems that some of my settings aren't working in my nopcommerce 3.6.  I have the jave script bundling and minification checked and css bundling and minification checked but pagespeed insights still says that minification need to be fixed. Is there anything else in nop that I can do to correct this?
6 years ago
This happens when you have even one inline script that isn't minified and bundled...so like if you have added a tracking script or other type of third party script to show your SSL seal or whatever...usually they are in the /views/common/footer.cshtml file, but maybe you put it in the /views/shared/_root_head.cshtml.

The easiest work-around is to move all those small inline scripts into your /Scripts/public.common.js script file.
It will be minified and bundled along with your other script files and then PageSpeed Insights won't see it as a problem.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.