Hi All,
I hope someone can help out on the following:
We've started optimising our websites for PageSpeed Insights and these went well up until the following has come up:
For this site, no matter what we do with the JS files (moved to footer from head then to before </body> tag), we can't get these removed. On our other sites using the same technology and layout, these got removed from the issues, but for some reason they aren't for this site.
We also tried cutting these scripts back, eliminating social tracking pixels and other non-essential items, to no avail.
The current view is the cut-back version.
I know we could add 'async' to these external files, but that would mess up the order they load in and the inline JS blocks wouldn't run either. This probably wouldn't work with bundling either - for exactly the same reason.
It's also worth pointing out that the CSS files are also picked up as render-blocking, even though we used the deferring technique mentioned in the best practices.
Any help would be much appreciated.