- This topic has 15 replies, 3 voices, and was last updated 2 years, 10 months ago by David.
-
AuthorPosts
-
December 12, 2020 at 5:51 pm #1578031Prajwal
Hi @david,
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 SupportHi there,
your logo is still being lazyloaded.
The Snippet i provided here should fix that:https://generatepress.com/forums/topic/cls-issue/page/2/#post-1570242
If that isn’t working then explain how you added the code.
December 12, 2020 at 6:31 pm #1578047PrajwalHi david,
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 SupportCan you temporarily disable the lazy load option so i can see if the lazyload is being removed, as currently it is not.
December 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 SupportOk so WP Rocket provide other snippets for excluding certain images on Lazy Load:
https://docs.wp-rocket.me/article/15-disabling-lazy-load-on-specific-images
Try: Example 2: Exclude an image based on its filename
December 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 #1588828Prajwal@david Actually it does not look it has done much. https://snipboard.io/ub5MXz.jpg
Any ideas if we can solve these? as the no.of URLS facing this issue is increasing and it might hurt the SEO moving into next year with google updates.
December 21, 2020 at 5:09 am #1589075DavidStaffCustomer SupportI 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 #1825979PrajwalHi @david, this fixed my issue last time! I upgraded my server to a dedicated server (Cloudways) and I was able to achieve fantastic results! From last week I can see the lab data is showing FCP issue 1.9s i have not made any changes though!
Please help me out again!June 17, 2021 at 9:15 pm #1826062ElvinStaffCustomer SupportHi Prajwal,
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
https://web.dev/render-blocking-resources/#how-to-identify-critical-resourcesHere’s a real good read about this – https://wp-rocket.me/blog/improving-first-contentful-paint/
June 18, 2021 at 1:41 am #1826207PrajwalI 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 SupportThe 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 #1830495PrajwalThanks David! All Sorted, got another issue but will raise another request!
-
AuthorPosts
- You must be logged in to reply to this topic.