N
Nuxt11mo ago
glikli

How to detect cause of slow initial response (SSR)

The initial SSR response takes long to retrieve (Root document). I use useAsyncData to get page data from the API (request takes 50ms) . But the result of the document is close to 750-800 ms. What is taking so long? How can I debug this? Thanks
2 Replies
manniL
manniL11mo ago
the API request is one part of it. Keep in mind that the server has to render the whole page, which takes some time too
glikli
glikliOP11mo ago
Hi ! Yes im aware of that. But is there any way to debug, detect what is heavy/optimize the render?
Want results from more Discord servers?
Add your server