Site logo

Archived topic

Largest Contentful Paint to be Reduced

9 replies · Started by MAB Entertainment sro on March 16, 2022

Viewing posts 1–10 of 10

I was just wondering whether there is something that can be done cornering the " initial server response time"

According to the PagesSpped insights, the metrics are not ideal.

The LCP depends on the 28-day collection.
It is suggested to eliminate render-blocking.
According to my website support to eliminate render-blocking JavaScript, CSS, I should contact my theme provider and ask them to look into it as that will certainly help.

Could you please have a look to see what can be improved?
Thanks a lot
cheers
https://setaffiliatebusiness.com/
Mike

Hi there.

1. reducing initial server response time - aside from improving the server you should ask your Host about enabling server side page caching to resolve this issue. If they do not offer that then you would need to use a Caching Plugin.

2. Eliminate render-blocking resources
If you check that list on Page Speed Insights you will see a long list of resources.

First on the list is the block-styles CSS that WP loads by default. You can add this PHP Snippet to your site, so it removes them everywhere except on a single post or page.

function db_dequeue_block_styles_on_home(){
    if (is_front_page() || !is_singular() ) {
    	wp_dequeue_style( 'wp-block-library' );
	    wp_dequeue_style( 'wp-block-library-theme' );
	}
} 
add_action( 'wp_enqueue_scripts', 'db_dequeue_block_styles_on_home', 100 );

https://docs.generatepress.com/article/adding-php/

The next main one looks to be the Cookie Law Notice. I am not sure on this but you may want to look for a different plugin to reduce the number of resources it requires.

And finally what version of GP and GPP are you running ?

Thanks a lot for the quick feedback.

I am going to add the PHP snippet to my site.

Regarding the Cookie Law Notice - I guess that could it be the plugin related to GDPR.

The version of GPP:
"The entire collection of GeneratePress premium modules.
Version 2.1.2"

If you go to Customizer > General - is there an option the to select the Icon Type ? If so change that to SVG

Right.

Just switched to SVG.

Ok so in that same panel there is a Structure option - that you can change from Floats to Flexbox.
That will combine and minimise some of the themes CSS.

One thing i notice is the Affiliate Banner Widget it in the Right sidebar is making a Google Font request. Might be worth asking them if they can change that to a system font.

Cool, so in the Structure option – I have just changed it from Floats to Flexbox.
Done.

Concerning the Affiliate Banner widget, is the:
1) Find long tail keywords with low SEO difficulty?
or
2) WA?

I am gonna ask them to change it.
Thanks a lot.

This:

1) Find long tail keywords with low SEO difficulty

Awesome.
Thanks a lot.

Mike

You're welcome

This archived topic is closed to new replies.