Похожие чаты

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 ответов

41 просмотр

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

Пахучая-Малиновка Автор вопроса
Заморское Братство
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

Пахучая Малиновка
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)

Пахучая-Малиновка Автор вопроса
Заморское Братство
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 (

Пахучая Малиновка
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

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Мелодичный Сырник
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Фетровый Лингвист
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Настойчивый Кварк
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...
Льдистая Лужица
2
30500 за редактор? )
Замшевый Алхимик
47
а через ESC-код ?
Виноградная Притча
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...
Звенящий Циферблат
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Туманный Ларец
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Длинный Минерал
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Тягучая Ракушка
11
Карта сайта