- This topic has 15 replies, 3 voices, and was last updated 1 year ago by David.
December 12, 2020 at 5:51 pm #1578031Prajwal
Been Generatepress user for over a year now, absolutely love it.
But recently, I have installed Wprocket and Bunny CDN I suspect the issue started after this.
Even though the speed score is pretty good 88+ for mobile and 95+ for DEsktop,I cannot get rid of the CLS issue on mobile(80+ poor URLS), desktop has no poor URL but URLs that need improvement. Since this will be a major ranking factor next year, I have been trying to get rid of it but cannot.
Please Help, URL of a page with this error – https://bit.ly/348whwO
I have disabled Critical CSS and disabled lazy loading on the Logo but has not changed anything.December 12, 2020 at 6:28 pm #1578045DavidStaffCustomer Support
your logo is still being lazyloaded.
The Snippet i provided here should fix that:
If that isn’t working then explain how you added the code.December 12, 2020 at 6:31 pm #1578047Prajwal
i added the code as a new snippet and select the option “Run script everywhere”
and saved it. Cleared the cash.December 14, 2020 at 12:50 am #1579441Prajwal
@david Any suggestions ?December 14, 2020 at 4:49 am #1579726DavidStaffCustomer SupportDecember 15, 2020 at 12:01 am #1581014Prajwal
@david, i have disabled lazy load option for images. I have cleared cache on wprocket and the CND side of things too.
Not sure what else can be done?December 15, 2020 at 6:06 am #1581399DavidStaffCustomer Support
Ok so WP Rocket provide other snippets for excluding certain images on Lazy Load:
Try: Example 2: Exclude an image based on its filenameDecember 16, 2020 at 12:04 am #1582468Prajwal
@david, thats awesome. I cannot see the CLS issue listed while doing a google page insights. Lets see if they will get validated though. But getting the Does not use passive listeners to improve scrolling performance issue, which, after going through the forum looks normal. But did not have this issue before.
Lets see. Thank you for your time. Is there anything else I should be checking? Also should I leave the critical CSS off?December 21, 2020 at 12:59 am #1588828PrajwalDecember 21, 2020 at 5:09 am #1589075DavidStaffCustomer Support
I just ran a page speed test on the Site – if you look under the Lab Data you will now see the CLS is
0– which means the site no longer has a CLS isse. The Origin Summary data is based upon the last 28 days of collected data. Over the next 28 days you will see that information should update.
Critical CSS – unless you know how to manually write your Critical CSS i would NOT use that feature. It will cause more problems then it solves.June 17, 2021 at 6:26 pm #1825979PrajwalJune 17, 2021 at 9:15 pm #1826062ElvinStaffCustomer Support
At this point, Critical CSS may be necessary.
But you’ll have to catch which ones should be added. You can refer to Google’s guide on identifying which ones are critical
Here’s a real good read about this – https://wp-rocket.me/blog/improving-first-contentful-paint/
A wise man once said:
"Have you cleared your cache?"June 18, 2021 at 1:41 am #1826207Prajwal
I am pretty sure, Generate press and WProcket + critical css enabled creates issues! Correct me if I am wrong!June 18, 2021 at 4:05 am #1826337DavidStaffCustomer Support
The issue isn’t related to GP. Its what the automatic Optimized CSS Delivery (Critical CSS ) function is doing. Using the automated option whatever theme can lead to issues. This is why people specialise in manually configuring Critical CSS as its impossible for an automated function to get it right for anything more than the very basic of sites ( when it probably isn’t necessary ).
I just checked WP Rockets own website as in the past i noticed that their very own functions was causing CLS and broken layouts…. today those issues are fixed and oddly they are NOT using their own Critical CSS function… just the Unused CSS option… go figure 🙂June 22, 2021 at 12:14 am #1830495Prajwal
Thanks David! All Sorted, got another issue but will raise another request!
- You must be logged in to reply to this topic.