Our client wants us to improve the performance of the solution and used https://developers.google.com/speed/pagespeed/insights/ to test it. Now "Google Insights" says:
Your page has 2 blocking script resources. This causes a delay in rendering your page.
We're loading these two files with the standard Sitecore Razor commands:
@Sitecore.Diagnostics.ClientLog.RenderClientLogConfiguration() and @Html.Sitecore().VisitorIdentification()
So there are a few questions here.
- Does it even make sense to asynchronously load those two java script files or would it break something?
- If it makes sense, how would you do it?
To change the VisitorIdentification.js we could edit
But I'm not sure how to do that with
As you can see we already adjusted the path to the file itself, but that's all happening in the configs.