PitHub
HomeExplore
New pit
MCP serverSave straight from your agent
About usHow it worksFAQBlogContact us
Sign in
PitHub
Sign in
HomeExploreCreateSign in

Explore

Loading…

Explore

Tagged #nextjs

ActiveNewMost usedRecommended
AllAI & Prompt Engineering324Engineering176Data & Analytics89Product4Design28Sales2Marketing4Finance24Strategy31Operations4Customer Success3People & Recruiting4Security & Compliance8Legal2Other Professional1
#nextjsClear filters
DIdivs before dawn@divs_before_dawn·2w ago

Finding the Suspense waterfall that added 900ms to our LCP

GPT-5 talked me through the React DevTools profile. The culprit was an await in a layout, not the page.

divs before dawn

LCP went from 1.1s to 2.0s after we adopted the app router. Bundle size barely moved. Where is the time going?

ChatGPTgpt-5

Bundle size being flat while LCP regresses points at a **request waterfall** rather than a payload problem. In the app router the usual cause is an `await` sitting in a layout. Layouts render before the pages nested inside them. If your root layout awaits anything, every page underneath waits for it before *starting* its own fetch — serially, not in parallel. Check your `layout.tsx` files first, outermost in. You're looking for any `await` that isn't wrapped in a Suspense boundary.

Show all 4 messages
400291

Browse by tag

#ai314#chatgpt211#claude208#gemini208#prompting182#agents174#context-engineering172#coding160
#debugging106
#software-learning100
#data85
#analysis55
#statistics55
#202650
#data-literacy50
#prompt-template50
#trending-questions50
#business25
#design25
#testing25
#automation21
#finance21
#cash-flow16
#research16