WebsiteBaker Support (2.12.x) > General Help & Support
Core Web Vitals problem with FCP and LCP
DarkViper:
(Y) Very nice, I love the new criteria and have been waiting for them for years ...
Finally a very good reason to ditch all those inflationary JavaScript frameworks that are mercilessly slowing down so many websites.
8-) Manuela
svsanchez:
Hello hgs and DarkViper, thank you for replying.
Hgs, on my last post the good grades are mainly because the Show_menu2 is *NOT* appearing, hence the Server Response Time is great.
The ads contribute to blocking the main thread, which is another problem, and over which there is nothing that can be done since they are not hosted on our server, but Google's server.
However, WB does seem to have a problem with bigger sites when the menu is shown, as you can see on my tests, especially this one which uses the BLANK template with only the Show_menu2, and the Server Response time goes to almost 4 seconds!
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.deguate.com.gt%2Fguatemala%2Flimpieza%2Fpapel-higienico.php&tab=mobile
If I remove the menu, the problem is gone and the page appears immediately!
So I definitely think that there is a problem with the way WB treats the menu in bigger sites.
You can see the same problem happens on my other big site (also more than 3000 pages):
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.deguate.com%2Fmunicipios%2Fpages%2Fizabal.php&tab=desktop
The server response time is about 6 seconds when the menu is shown!
Is there a way to generate the menu without causing this problem?
dbs:
Hi, "my" PageSpeed Insights says "A problem has occurred with the request. Please try again later.".
Later the same message.
I see on your page https://www.deguate.com.gt/guatemala/agricultura.php three lists of pages (left, right, bottom).
Have you tried with only one list? Maybe you can try to use droplets like [[SiteMapChildRL]] or similar?
svsanchez:
Hello dbs,
--- Quote ---Hi, "my" PageSpeed Insights says "A problem has occurred with the request. Please try again later.".
Later the same message.
--- End quote ---
Strange, it also happened to me once, but it's working now.
--- Quote ---I see on your page https://www.deguate.com.gt/guatemala/agricultura.php three lists of pages (left, right, bottom).
Have you tried with only one list?
--- End quote ---
I guess that when you mean "three lists of pages" you mean three menus? Yes, there's the Breadcrumbs, the list of pages inside the category (what you called SiteMapChildRL) and the Categories menu. It DOESN'T make a difference if I add one or 3 menus, the problem happens as soon as there is ONE menu.
--- Quote ---Maybe you can try to use droplets like [[SiteMapChildRL]] or similar?
--- End quote ---
I just added the [[SiteMapChildRL]] to the page but it doesn't do anything, it only shows the text [[SiteMapChildRL]] instead of showing the list of pages. I guess I have to create the droplet but I don't know what code I should use?
dbs:
The droplet is only a call for subpages of a page_id.
Desc: List of pages below current page or page_id. Modified for servicelinks.
Code:
--- Code: ---$content = '';
if (isset($start) && !empty($start)) {
$iChild = (is_numeric($start) ? $start : PAGE_ID);
$content = show_menu2(SM2_ALLMENU,
$iChild,
SM2_ALL,
SM2_ALL|SM2_ALLINFO|SM2_BUFFER,
'[li]<span class="nav-link">[a][page_title]</a></span>',
false,
'<ul id="servicelinks">');
}
return $content.'';
--- End code ---
Comments:
[[SiteMapChildRL?start=11]]
(optional parameter) start=page_id
@Manu: not helpfully. The problem is show_menu, not JS.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version