I stumbled upon an easy fix that is recommended a lot online for this notice in Google Page Speed and I would like to ask the members with coding if it works and should we really care about this notice?
I'm using it by adding this code to Custom code of my thirtybees and when checking with the tool this notice is gone. There are comments online that this file should be loaded before everything else .js and not on the end of the page as we move them with thirtybees. I'm unable to observe any scrolling improvement (or I'm not looking where I should)... Of course one less line in the Google report means the report gathers 1 point overall, not much but in the end if this works it's a five minute job.
Question
the.rampage.rado
I stumbled upon an easy fix that is recommended a lot online for this notice in Google Page Speed and I would like to ask the members with coding if it works and should we really care about this notice?
https://github.com/zzarcon/default-passive-events
I'm using it by adding this code to Custom code of my thirtybees and when checking with the tool this notice is gone. There are comments online that this file should be loaded before everything else .js and not on the end of the page as we move them with thirtybees. I'm unable to observe any scrolling improvement (or I'm not looking where I should)... Of course one less line in the Google report means the report gathers 1 point overall, not much but in the end if this works it's a five minute job.
If this works could we implement this tiny .js file locally to avoid using one more connection to external CDN?
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now