• Hello,
    I’m running a Google PageSpeed test and one of the notes is about the lightbox.js script in this plugin.

    It’s saying “Consider marking your touch and wheel event listeners as passive to improve your page’s scroll performance.”

    Can this plugin use passive listeners?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @joycegrace!

    Thank you for your feedback, to be honest I’ve just discovered these “passive listeners”, but it looks promising and quite easy to add so I will study it a bit more and try to add this in an upcoming version ??

    Best regards,
    Thomas

    Thread Starter joycegrace

    (@joycegrace)

    thank you. Can you notify me when this is done?

    Hi Thomas,

    Glad you are on this. There are some real issues with Google Page Speed scores. Meow Lightbox is loading 4 .js and .css files. Each of these files are considered a render-blocking resource. With Meow Lightbox enabled, Google Page Speed Scores drop on mobile from 83 to 64 and on desktop from 93 to 84.

    If one is not using location, two should be enough in my opinion.

    Thanks, Alec

    I’ve seen this too when running a Google PageSpeed.

    This is one of the issues – the other is Google gives with one hand and takes with the other.

    By that I mean the Meow issue is and issue but not as big of an issue with having Google Ads enabled! If I remove Google Ads I can bump my scores up massively on mobile and on desktop. I’ve got a little work around at the moment – I remove Google ads from loading on the home page!

    I still have a long way to go on my mobile score.

    Peter

    • This reply was modified 3 years, 7 months ago by Decimus.
    Thread Starter joycegrace

    (@joycegrace)

    @decimus I’ve had great help with Perfmatters.io (not sure if I’m allowed to post that here). They have a delay JS feature that might help with other things and you can ask them about the Ads. They may have docs about handling Google Ads. They are very, very good with support.

    Though I think this is getting a little off topic for this one thread. But thought I’d mention it anyway since it may help.

    Too bad Perfmatters.io can’t solve the passive listeners issue…

    Perfmatters.io DID allow me to unload Meow Lightbox on pages not using this plugin using REGEX (and other easier tools). Their plugin can also can defer and preload, etc.

    @kywyz Would be great to get an update on this. Has this feature been implemented yet?

    • This reply was modified 3 years, 7 months ago by joycegrace.
    • This reply was modified 3 years, 7 months ago by joycegrace.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Passive listeners?’ is closed to new replies.