Похожие чаты

H guys. I have written in group about total blocking

time few days ago. I have made a simple live example https://nuxt.itdevv.com. I have here 40 cards and 400ms blocking time accordingly. Here is github project https://github.com/AidOnline01/cards-grid.
Do you have any tips how to decrease total blocking time?

6 ответов

25 просмотров

by removing all scripts that would save you about 200ms or lazy load all scripts?

Illia-Lebid Автор вопроса
🍋
by removing all scripts that would save you about ...

Can you be more specific? I have lazy loaded CardsGrid and Card components. There is only Button, ButtonBtn, ButtonLink left

Illia Lebid
Can you be more specific? I have lazy loaded Cards...

not sure how Vue lazyload works. if that site does nothing else than the demo, there is zero need of a JS framework.(just use css & probably 2kb js to only lazyload the images)

Illia-Lebid Автор вопроса
🍋
not sure how Vue lazyload works. if that site do...

That's a demo specific for demonstration of a problem I encountered on big sized project. The problem is not in images, lazy images won't help main thread blocking. What to do with long mainthread tasks i could not figure out (

Illia Lebid
That's a demo specific for demonstration of a prob...

what to do with long mainthread tasks: don't execute anything that's not really important before TTI.

🍋
what to do with long mainthread tasks: don't execu...

the rest of the solution: https://web.dev/long-tasks-devtools/#what-is-causing-my-long-tasks

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта