Ctrl K
Frontend · Mid-level · Theory

The LCP on the home page is around four seconds. How would you figure out the causes, and what would you do to bring it down?

~4 min by voice

How to approach it

The interviewer checks whether the candidate understands what LCP is and what that time is made of. It also matters whether they can diagnose the problem systematically: first the data source and the specific element, then the phase where time is lost, and only then targeted fixes, rather than "I'll do whatever Lighthouse says".

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsВ день зарплаты эндпоинт истории операций начинает отвечать по несколько секунд, а база упирается в сто процентов CPU. Как вы будете разбираться и что делать? SeniorWhy are strings immutable in Java, and why shouldn't you concatenate strings with plus in a loop? JuniorA service running on G1 periodically has pauses of one to two seconds, and it's hurting latency. What would you do, and when is it worth looking at a different garbage collector? Mid-levelYour Python script runs slowly. How will you figure out what exactly is slowing it down? JuniorAfter a release, Core Web Vitals dropped in production, primarily INP and LCP. How would you find the cause, and what do you usually end up fixing? Senior

Answer by voice

The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.

Sign in to answer

Best with headphones · ~4 min