- This topic has 15 replies, 2 voices, and was last updated 6 months, 2 weeks ago by
David.
-
AuthorPosts
-
August 17, 2020 at 12:06 am #1405688
Amit
Hi Team,
I have been trying to improve the page load time for my site’s inner pages/posts. The CLS issue seems to be another thing knocking my mind from long. The web.dev says 0 whereas, the page speed insights say it a bit more than 0.1. There is also a warning in the Google webmasters to Improve CLS which is above 0.1 and so, I want to work on that.
I request you guys to please have a look on to the site’s inner posts or pages for any performance issues that needs to be rectified.August 17, 2020 at 4:25 am #1405956David
StaffCustomer SupportHi there,
the main issue is the lazy loader is affecting the Logo.
Which plugin are you using ?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 17, 2020 at 4:51 am #1405982Amit
Lazy Load by WP Rocket…The time to interactive is also pretty much on the high side.
August 17, 2020 at 5:43 am #1406041David
StaffCustomer SupportWP Rocket provide the following snippets for disabling lazy load on specific images:
https://docs.wp-rocket.me/article/15-disabling-lazy-load-on-specific-images
Use: Example 2: Exclude an image based on its filename
And specify your logo image name.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 17, 2020 at 6:26 am #1406106Amit
I implemented the lazy load exclusion for logo. A little layout shift still is there. Also, please have a check on the performance issues as the Total blocking time on mobile is about 690 milliseconds. What can be worked on that!
August 17, 2020 at 7:26 am #1406215David
StaffCustomer SupportThis article will help:
https://web.dev/tbt/#how-to-improve-tbt
Bottom line is – add less 3rd party requests, scripts and make shorter content.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 17, 2020 at 11:40 pm #1407189Amit
Hi David, those are actually the ads and we can’t disable them. Is there any way to load adsense after page load so that it’s not blocking. I heard these things on web but can’t find anything to implement that!
August 18, 2020 at 3:12 am #1407410David
StaffCustomer SupportYou can use a plugin like this to defer loading:
https://en-gb.wordpress.org/plugins/async-javascript/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 18, 2020 at 4:14 am #1407472Amit
Can you help me have the exact settings to be used in the plugin. I have installed it but it doesn’t seems to be having any effect.
August 18, 2020 at 4:21 am #1407480David
StaffCustomer SupportIf your stuck raise a topic on that plugins support forum. Frank the developers support is great. Heres a similar topic:
https://wordpress.org/support/topic/does-async-js-defer-parsing-of-third-party-js/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 18, 2020 at 4:35 am #1407500Amit
I tried many combinations, but I guess there is no solution to that – https://wordpress.org/support/topic/defer-adsense-is-that-the-same-as/
August 18, 2020 at 5:04 am #1407540David
StaffCustomer SupportHmmm… i am not sure seeing as the script has the async attribute eg.
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
I don’t think allows you to change that to
defer
eg.<script defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
As this may violate there policies.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 18, 2020 at 5:10 am #1407546Amit
Yes, it might be a violation! Let me know if some thing comes up as a good solution! If we are the one solving it, we might be the first as on web, I have surfed almost for most solutions.
August 18, 2020 at 7:02 am #1407711David
StaffCustomer Supportyeah maybe ask a question on stackoverflow – plenty of smart guys there 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 19, 2020 at 4:21 am #1409211Amit
I asked this question in an FB group and someone recommended Flying Scripts plugin. It did the work!
-
AuthorPosts
- You must be logged in to reply to this topic.