« first day (3388 days earlier)      last day (400 days later) » 

1:26 AM
 
 
3 hours later…
4:03 AM
@Sankar Now that I'm looking at things carefully, index cards for questions in the SO questions list are <div> not <article> .
 
 
12 hours later…
4:29 PM
@NickAlexeev there you go...
 
 
3 hours later…
7:20 PM
Hi
I'm struggling with a issue related to Large Content Paint web vitals metric
Specifically, I'm trying tu improve a page template I built with css,html and Javascript, I tried image compression, I have created a bundle for my javascript and css, therefore I'm only downloading few files, they are minified
Doing that improve the LCP score but it still bad is not the score google suggest for a web page, In the template I have a mega menu and it is causing the bad LCP score

If I remove the submenus from the mega menu, the LCP improves a lot
but I don't know why the submenus are causing this problems, the reason I'm writing here is because I would like to hear suggestions related to what kind of things should I watch out in the menu in order to achieve better performance
I tried to put the mega menu styles directly in the head through <style> tags so that the browser don't need to download the stylesheet first because it have already the styles and can start rendering
but it didn't solve the issue, and didn't improve the LCP score too much..
If I set to display: none each submenu, it means that each submenu is not present in the render tree, so the browser should do less work and render faster
but, if I do so, I get the same LCP bad score, because of that I don't think is because the submenu's layout is complex and for that reason the browser take a lot of time rendering the mega menu
I'm testing the page opening an incognito window and using Lighthouse google extension
 

« first day (3388 days earlier)      last day (400 days later) »