Mobile LCP of 6-7 seconds. Server response of 72ms. The problem was a scroll animation hiding our primary heading at opacity 0 until JavaScript hydrated. Here is what we found and how we fixed it. The numbers did not add up We ran Lighthouse on the Stackra.app homepage. Desktop performance scored 94. Mobile scored 63, with a Largest Contentful Paint of over 6 seconds. Our server response time was
The Scroll Animation That Was Hiding Our LCP Element
Luke Beck·Dev.to··1 min read
D
Continue reading on Dev.to
This article was sourced from Dev.to's RSS feed. Visit the original for the complete story.