Archived topic
Help with Core Web Vitals
8 replies · Started by Tommy on February 8, 2022
I recently changed theme to generatepress as my theme was slow on Core Web Vitals (CWV). Since changing, the Desktop has improved quite significantly, but the mobile is still very slow.
I'm not technical and would appreciate any help and advice on how to improve it. the website in question is www. and some of the slower pages include: www. which the page speed insights says its 48 for mobile and 97 for desktop.
Thanks in advance...
OK, so off the top i have to say - it looks like the site is running Ezoic so what i may advise here may not work. Ezoic has its own special way of doing things that generally prioritises their own scripts and 3rd party advert scripts over everything else.....
Running a Page Speed Insight test and looking at the most beneficial opportunites:
1. Reduce initial server response time
Aside of a faster server you should look at server side page caching
2. Reduce unused JavaScript ( which also points to Diagnostics: Minimize main-thread work & Reduce JavaScript execution time )
This is related to the amount of advert scripts being loaded on the page.
You should look to defer the loading of those scripts. I would advise others to use a plugin like Flying Scripts but you may need to speak to Ezoic about this.
those would be my two priorities.
Ok, thanks for the help, David. I'll let you know how I get on.
Ezoic do recommend I don't use Content Views plugin. I use it on pages like this: www. Could I custom a page with generatepress that makes it look like this?
I have something similar with the archive pages http://www., but I can't find how to lose the headline or read more meta. Is it possible to custom a look like the content views page, but without the headline and Read more bits?
Thanks in advance
Also, what do you mean exactly when you say 'server side page caching'. Use the cache on my server? I use Kinsta host, btw.
Options to replace Content Views:
WP Show Posts
The core Query Loop Block
We're working on a GenerateBlocks update to introduce our own query loop block.
Not sure thats going to make much of a difference or why it is Ezoic recommend against using CV.
Also, what do you mean exactly when you say ‘server side page caching’. Use the cache on my server? I use Kinsta host, btw.
Yes, server caching.
Ultimately you're at the whim of Ezoic, they inject a tonne of code into the site.
Try this, load a page on your site, view the entire page, now Right Click > Inspect the Page and open the developers tools. In the Elements tab, expand the <head>
For reference this is the header.php of GP:
You can see GP adds these two lines:
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="profile" href="https://gmpg.org/xfn/11">
Before the wp_head hook is fired.
But on your site, before or between the above two lines you will see a LOT of scripts and links:
https://www.screencast.com/t/cUoJ579FtS8c
All those scripts will be proxy inserted by Ezoic. And the only people that can address the issues it creates is Ezoic.
Yes, I think the problem is definitely with the ads, because everything else loads quickly.
Maybe you lost my request in my multiple questions, but is there a way for me to remove the 'Headlines' and 'Read More' meta on my archive pages? I would just like to have the featured image showing if possible.
Thanks for all the help!
We seen a few Ezoic users experience the same problems. I believe some of them have had some success working with Ezoic to improve it.
If you just want the Image to be displayed then probably best to use a Block Element - Content Template:
https://docs.generatepress.com/article/block-element-content-template/
Just add a GP Dynamic Image Block, set it to Featured Image, and set the Display Rule Locations to the Archive pages you want it applied to.
Is there anyway I could create this page with generateblocks/pro: www.
All the menu/nav links go to similar pages and I will do them all if possible.
I have Pro version now and I now know how to get just the image to click and make it look like that. I have done that with my archive pages.
However, when I try to re-create this page (it's not an archive page), I can't understand how to get just specific categories in each section, like the layout is on the page. I built this with Content Views Plugin, which I want to stop using if possible.
Thanks!
Not yet, we will be adding a Query Loop Block for that functionality to GB in the future. I would expect something by end of this current quarter for testing.