rendering? I tried splitting my page into async files, but still it does not matter as I have 2+ sec total blocking time on relatively simple page (https://prnt.sc/1v6k2nh) (just 21 cards with nothing complex).
Your browser has a timeline analyser. You can see exactly where the time is lost/stuck. Don't go blindly trying to fix random stuff unless you have data (from the browser or another benchmark), or a really good gut feeling
Yes. I have checked with it. It is evenly spread over every component (buttons, pictures, cards, rating) and so on. So there are 21 card and around 10 child components inside, 200+ in total, each takes 10-20ms and in the end we got 2+ sec tbt. Don't know what to do with it.
Обсуждают сегодня