Site logo

Archived topic

fix issue in Google Pagespeed & GTMetrix

3 replies · Started by jasond on December 3, 2020

Viewing posts 1–4 of 4

Hello

Can you advise how to fix 'largest contentful paint" and "Avoid large layout shifts" in GTMetrix?

Many thanks

Hi there,

if you check the Waterfall report in GT Metrix you will be able to see where the delays are coming from. The biggest issue is the time it is taking for your server and CDN to responding to the network requests. This is something you will want to take up with your host / CDN provider

Hi David

Thanks for your reply, I believe it is caused by the swiper slider on homepage. Is there any solution for this?

Many thanks

This could be for a few reasons - couple of thoughts:

1. The slider plugin - does it have different slider options? - some provide different slider scripts - generally ones that fade-in or some other animation on load can cause CLS as the element doesn't know its true height until after the fade-in/animation.

2. The images are being served from the shortpixel CDN, this again may affect the sliders ability to know in advance what size images its will be displaying. Try disabling the CDN to see if thats the case.

This archived topic is closed to new replies.