• Resolved vizzitor

    (@vizzitor)


    How does your plugin handle Google’s lately introduced new pagespeed / seo metric,
    the Cumulative Layout Shift (CLS) issue?
    Most importantly in the case of mansory, justified layouts or lazy load galleries.
    For example I have checked the Justified gallery demo and it has a high CLS score, which is already in the red/not accepted zone for google and Lighthouse algorithm
    https://fooplugins.com/foogallery/wordpress-justified-gallery/
    Cumulative Layout Shift 0.243
    Many thanks for your answer / solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bradvin

    (@bradvin)

    Thanks for raising this.

    @steveush please can you investigate this

    Plugin Author bradvin

    (@bradvin)

    Thanks for raising this.

    @steveush pls can you investigate this further

    Plugin Author steveush

    (@steveush)

    Hi @vizzitor,

    We’re looking to put out a performance improvement update within the next month or so to tackle some issues like this CLS one.

    That being said some templates simply due to how they work will naturally incur a high CLS score. As you pointed out the Justified and Masonry galleries would be two such templates as they manually position every item within them with JavaScript to achieve the desired look.

    Part of the CLS score is determined by the layout shift, or the height change between frames, and this is where these templates would incur the largest penalty as the items are positioned for the first time on page load. Also some templates like Masonry use 3rd party libraries under the hood which we have no control over other than logging a ticket ourselves.

    We will endeavor to provide the best performing templates we can but in the end it would be up to the end-user like yourself to determine a cost/performance ratio you’re happy with and this could change depending on whatever metric is next introduced.

    Thanks
    Steve

    Hi @vizzitor

    We haven’t heard from you in a while, so we presume the problem has been resolved and we’re closing this support ticket.

    However, if you are still experiencing the problem, then please open a new support ticket and we’ll help you come up with a working solution.

    Regards,
    Elvis.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cumulative Layout Shift (CLS)’ is closed to new replies.