That is a serious problem and you should fix it right away to increase your website’s loading speed and optimise it for search engines. To fix this issue, We’ll be using W3 Total Cache plugin. As many of you already know, W3 Total Cache is one of the best WordPress plugins, and it helps in speed up your website very drastically.
Anyway, Without further ado, Let’s get right into it.
After installing W3 Total Cache, In Admin panel, go to Performance -> General Settings and find “Minify” section and set Minify Mode to Manual.
Doing that would provide some additional options on Minify settings page. Now, Head on to Performance -> Minify page. There, Scroll on to JS section. If you haven’t already, Enable JS minify settings first. Then make sure the following things are set exactly like this:
After doing all that, Scroll to JS File Management section and ensure that you have selected your active theme in Theme option. Now, Below it, There is a text: No JS files added and an option to Add scripts.
It’ll show you which JS files and CSS files you should minify. From there you can easily copy all file paths by hovering over them.
Now in Admin panel, Paste the JS file URL to field you added in the last step. Add another field and paste another link from Google PageSpeed data. Do it until all JS files are added.
Also, Make sure to have CSS minify settings Enabled.